Class JndiAccessor
java.lang.Object
org.springframework.jndi.JndiAccessor
- Direct Known Subclasses:
- JndiLocatorSupport
Convenient superclass for JNDI accessors, providing "jndiTemplate"
and "jndiEnvironment" bean properties.
- Since:
- 1.1
- Author:
- Juergen Hoeller
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogLogger, available to subclasses.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the JNDI environment to use for JNDI lookups.Return the JNDI template to use for JNDI lookups.voidsetJndiEnvironment(@Nullable Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.voidsetJndiTemplate(@Nullable JndiTemplate jndiTemplate) Set the JNDI template to use for JNDI lookups.
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log loggerLogger, available to subclasses.
 
- 
- 
Constructor Details- 
JndiAccessorpublic JndiAccessor()
 
- 
- 
Method Details- 
setJndiTemplateSet the JNDI template to use for JNDI lookups.You can also specify JNDI environment settings via "jndiEnvironment". - See Also:
 
- 
getJndiTemplateReturn the JNDI template to use for JNDI lookups.
- 
setJndiEnvironmentSet the JNDI environment to use for JNDI lookups.Creates a JndiTemplate with the given environment settings. - See Also:
 
- 
getJndiEnvironmentReturn the JNDI environment to use for JNDI lookups.
 
-