javax.naming
and related packages.
This package defines the service provider interface (SPI) of the Java Naming and Directory Interface (JNDI). JNDI provides naming and directory functionality to applications written in the Java programming language. It is designed to be independent of any specific naming or directory service implementation. Thus a variety of services--new, emerging, and already deployed ones--can be accessed in a common way.
The JNDI SPI provides the means for creating JNDI service providers, through which JNDI applications access different naming and directory services.
javax.naming.Context.lookup()
method and related methods to return Java objects that are natural
and intuitive for the Java programmer.
For example, when looking up a printer name from the directory,
it is natural for you to expect to get
back a printer object on which to operate.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | DirObjectFactory
This interface represents a factory for creating an object given an object and attributes about the object. |
| public interface | DirStateFactory
This interface represents a factory for obtaining the state of an object and corresponding attributes for binding. |
| public interface | InitialContextFactory
This interface represents a factory that creates an initial context. |
| public interface | InitialContextFactoryBuilder
This interface represents a builder that creates initial context factories. |
| public interface | ObjectFactory
This interface represents a factory for creating an object. |
| public interface | ObjectFactoryBuilder
This interface represents a builder that creates object factories. |
| public interface | Resolver
This interface represents an "intermediate context" for name resolution. |
| public interface | StateFactory
This interface represents a factory for obtaining the state of an object for binding. |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | ContinuationContext
This class is for dealing with federations/continuations. |
| pack-priv class | ContinuationDirContext
This class is the continuation context for invoking DirContext methods. |
| pack-priv class | |
| pack-priv class | |
| public class | DirectoryManager
This class contains methods for supporting |
| public class | NamingManager
This class contains methods for creating context objects and objects referred to by location information in the naming or directory service. |
| public class | ResolveResult
This class represents the result of resolution of a name. |