## 类的使用
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 a `JndiLocatorDelegate` with its "resourceRef" property set to `true`, meaning that all names will be prefixed with "java:comp/env/".

    参数类型为JndiLocatorDelegate的org.springframework.jndi中的构造器
    构造器和说明
    `JndiPropertySource(String name, JndiLocatorDelegate jndiLocator)` Create a new `JndiPropertySource` with the given name and the given `JndiLocatorDelegate`.