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).
ClassDescriptionConvenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.JndiCallback<T>Callback interface to be implemented by classes that need to perform an operation (such as a lookup) in a JNDI context.
JndiLocatorSupportsubclass with public lookup methods, for convenient use as a delegate.Convenient superclass for classes that can locate any number of JNDI objects.
FactoryBeanthat looks up a JNDI object.Convenient superclass for JNDI-based service locators, providing configurable lookup of a specific JNDI resource.AOP
TargetSourcethat provides configurable JNDI lookups for
getTarget()calls.Helper class that simplifies JNDI operations.Properties editor for JndiTemplate objects.Exception thrown if a type mismatch is encountered for an object located in a JNDI environment.