Package org.springframework.jndi
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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the JNDI environment to use for JNDI lookups.Return the JNDI template to use for JNDI lookups.voidsetJndiEnvironment(Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.voidsetJndiTemplate(JndiTemplate jndiTemplate) Set the JNDI template to use for JNDI lookups.
- 
Field Details- 
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. 
- 
getJndiEnvironmentReturn the JNDI environment to use for JNDI lookups.
 
-