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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the JNDI environment to use for JNDI lookups.Return the JNDI template to use for JNDI lookups.void
setJndiEnvironment
(Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.void
setJndiTemplate
(JndiTemplate jndiTemplate) Set the JNDI template to use for JNDI lookups.
-
Field Details
-
logger
Logger, available to subclasses.
-
-
Constructor Details
-
JndiAccessor
public JndiAccessor()
-
-
Method Details
-
setJndiTemplate
Set the JNDI template to use for JNDI lookups.You can also specify JNDI environment settings via "jndiEnvironment".
- See Also:
-
getJndiTemplate
Return the JNDI template to use for JNDI lookups. -
setJndiEnvironment
Set the JNDI environment to use for JNDI lookups.Creates a JndiTemplate with the given environment settings.
-
getJndiEnvironment
Return the JNDI environment to use for JNDI lookups.
-