类的使用
org.springframework.jndi.JndiLocatorDelegate
使用JndiLocatorDelegate的程序包 程序包 说明 org.springframework.jndi The classes in this package make JNDI easier to use, facilitating the accessing of configuration stored in JNDI, and provide useful superclasses for JNDI access classes.org.springframework.jndi中JndiLocatorDelegate的使用
返回JndiLocatorDelegate的org.springframework.jndi中的方法 修饰符和类型 方法 说明 static JndiLocatorDelegate
JndiLocatorDelegate. createDefaultResourceRefLocator()
Configure aJndiLocatorDelegate
with its "resourceRef" property set totrue
, meaning that all names will be prefixed with "java:comp/env/".参数类型为JndiLocatorDelegate的org.springframework.jndi中的构造器 构造器 说明 JndiPropertySource(String name, JndiLocatorDelegate jndiLocator)
Create a newJndiPropertySource
with the given name and the givenJndiLocatorDelegate
.