Package com.germinus.easyconf
Class JndiURL
- java.lang.Object
-
- com.germinus.easyconf.JndiURL
-
public class JndiURL extends java.lang.Object
Represents the URL to a JNDI tree as specified in a properties file TODO: Add support for ASP applications- Version:
- $Revision: 1.2 $
- Author:
- Jorge Ferrer
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
companyId
private java.lang.String
componentName
private static javax.naming.InitialContext
ctx
private static java.lang.String
JNDI_PREFIX
private java.lang.String
jndiPrefix
-
Constructor Summary
Constructors Constructor Description JndiURL(java.lang.String jndiPath, java.lang.String companyId, java.lang.String componentName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration()
private javax.naming.InitialContext
getContext()
java.lang.String
getPrefix()
static boolean
isJndi(java.lang.String sourcePath)
-
-
-
Field Detail
-
JNDI_PREFIX
private static final java.lang.String JNDI_PREFIX
- See Also:
- Constant Field Values
-
ctx
private static javax.naming.InitialContext ctx
-
jndiPrefix
private java.lang.String jndiPrefix
-
companyId
private java.lang.String companyId
-
componentName
private java.lang.String componentName
-
-
Method Detail
-
getContext
private javax.naming.InitialContext getContext() throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
-
isJndi
public static boolean isJndi(java.lang.String sourcePath)
-
getPrefix
public java.lang.String getPrefix()
-
getConfiguration
public Configuration getConfiguration()
-
-