public class JndiAccessor
extends java.lang.Object
setJndiTemplate(org.springframework.jndi.JndiTemplate)
,
setJndiEnvironment(java.util.Properties)
Modifier and Type | Field and Description |
---|---|
private JndiTemplate |
jndiTemplate |
protected Log |
logger
Logger, available to subclasses.
|
Constructor and Description |
---|
JndiAccessor() |
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getJndiEnvironment()
Return the JNDI environment to use for JNDI lookups.
|
JndiTemplate |
getJndiTemplate()
Return the JNDI template to use for JNDI lookups.
|
void |
setJndiEnvironment(java.util.Properties jndiEnvironment)
Set the JNDI environment to use for JNDI lookups.
|
void |
setJndiTemplate(JndiTemplate jndiTemplate)
Set the JNDI template to use for JNDI lookups.
|
protected final Log logger
private JndiTemplate jndiTemplate
public void setJndiTemplate(JndiTemplate jndiTemplate)
You can also specify JNDI environment settings via "jndiEnvironment".
setJndiEnvironment(java.util.Properties)
public JndiTemplate getJndiTemplate()
public void setJndiEnvironment(java.util.Properties jndiEnvironment)
Creates a JndiTemplate with the given environment settings.
public java.util.Properties getJndiEnvironment()