@NonNullApi @NonNullFields

# 程序包 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.

请参阅: 说明

- 接口概要
  接口 | 说明
  --- | ---
  JndiCallback<T> | Callback interface to be implemented by classes that need to perform an operation (such as a lookup) in a JNDI context.

- 类概要
  类 | 说明
  --- | ---
  JndiAccessor | Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.
  JndiLocatorDelegate | `JndiLocatorSupport` subclass with public lookup methods, for convenient use as a delegate.
  JndiLocatorSupport | Convenient superclass for classes that can locate any number of JNDI objects.
  JndiObjectFactoryBean | `FactoryBean` that looks up a JNDI object.
  JndiObjectLocator | Convenient superclass for JNDI-based service locators, providing configurable lookup of a specific JNDI resource.
  JndiObjectTargetSource | AOP `TargetSource` that provides configurable JNDI lookups for `getTarget()` calls.
  JndiPropertySource | `PropertySource` implementation that reads properties from an underlying Spring `JndiLocatorDelegate`.
  JndiTemplate | Helper class that simplifies JNDI operations.
  JndiTemplateEditor | Properties editor for JndiTemplate objects.

- 异常错误概要
  异常错误 | 说明
  --- | ---
  JndiLookupFailureException | RuntimeException to be thrown in case of JNDI lookup failures, in particular from code that does not declare JNDI's checked `NamingException`: for example, from Spring's `JndiObjectTargetSource`.
  TypeMismatchNamingException | Exception thrown if a type mismatch is encountered for an object located in a JNDI environment.

## 程序包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.

The classes in this package are discussed in Chapter 11 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).