类 JndiAccessor
- java.lang.Object
- org.springframework.jndi.JndiAccessor
- 直接已知子类:
JndiLocatorSupport
public class JndiAccessor extends Object
Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.- 从以下版本开始:
- 1.1
- 作者:
- Juergen Hoeller
- 另请参阅:
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.
构造器详细资料
JndiAccessor
public JndiAccessor()
方法详细资料
setJndiTemplate
public void setJndiTemplate(JndiTemplate jndiTemplate)
Set the JNDI template to use for JNDI lookups.You can also specify JNDI environment settings via "jndiEnvironment".
getJndiTemplate
public JndiTemplate getJndiTemplate()
Return the JNDI template to use for JNDI lookups.
setJndiEnvironment
public void setJndiEnvironment(Properties jndiEnvironment)
Set the JNDI environment to use for JNDI lookups.Creates a JndiTemplate with the given environment settings.
getJndiEnvironment
public Properties getJndiEnvironment()
Return the JNDI environment to use for JNDI lookups.