public class JndiAccessor extends Object
setJndiTemplate(org.springframework.jndi.JndiTemplate),
setJndiEnvironment(java.util.Properties)| 构造器和说明 |
|---|
JndiAccessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
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(@Nullable
JndiTemplate jndiTemplate)
You can also specify JNDI environment settings via "jndiEnvironment".
public JndiTemplate getJndiTemplate()
public void setJndiEnvironment(@Nullable
Properties jndiEnvironment)
Creates a JndiTemplate with the given environment settings.
@Nullable public Properties getJndiEnvironment()