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