org.naftulin.configmgr.parsers
Class AbstractJndiParser
java.lang.Object
org.naftulin.configmgr.parsers.AbstractJndiParser
- Direct Known Subclasses:
- DbJndiParserImpl, JndiParserImpl
public class AbstractJndiParser
- extends java.lang.Object
Method Summary |
protected javax.naming.InitialContext |
getJndiContext(java.lang.String key,
java.util.Properties props,
javax.naming.InitialContext context)
|
protected void |
prepareJndiProperties(java.util.Properties props)
|
protected void |
validateParameters(java.lang.String key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
jndiName
protected final java.lang.String jndiName
initialContextFactory
protected final java.lang.String initialContextFactory
nameValuePairs
protected final java.util.List<NameValuePairImpl> nameValuePairs
AbstractJndiParser
public AbstractJndiParser(java.lang.String jndiName,
java.lang.String initialContextFactory,
java.util.List<NameValuePairImpl> nameValuePairs)
getJndiContext
protected javax.naming.InitialContext getJndiContext(java.lang.String key,
java.util.Properties props,
javax.naming.InitialContext context)
throws ConfigurationManagerException
- Throws:
ConfigurationManagerException
prepareJndiProperties
protected void prepareJndiProperties(java.util.Properties props)
validateParameters
protected void validateParameters(java.lang.String key)
throws ConfigurationManagerException
- Throws:
ConfigurationManagerException
Copyright © 2009. All Rights Reserved.