JNDI 1.1.1

Package javax.naming.spi

Contains the classes and interfaces that allow various naming and directory service providers to be dynamically plugged in beneath the JNDI API.

See:
          Description

Interface Summary
InitialContextFactory This interface represents a factory that creates an initial context.
InitialContextFactoryBuilder This interface represents a builder that creates initial context factories.
ObjectFactory This interface represents a factory for creating objects.
ObjectFactoryBuilder This interface represents a builder that creates object factories.
Resolver This interface represents an "intermediate context" for name resolution.
 

Class Summary
DirectoryManager This class contains a method for obtaining the continuation DirContext.
NamingManager This class contains methods for creating context objects and objects referred to by location information in the naming or directory service.
ResolveResult This class represents the result of resolution of a name.
 

Package javax.naming.spi Description

Contains the classes and interfaces that allow various naming and directory service providers to be dynamically plugged in beneath the JNDI API.

This package provides the means by which developers of different naming/directory service providers can develop and plug in their implementations so that the corresponding services are accessible from applications that use JNDI.

Plug-in Architecture

The service provider package allows different implementations to be plugged in dynamically. These different implementations include those for the initial context, and implementations for contexts that can be reached from the initial context.

Java Object Support

The service provider package provides support for implementors of the 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.

Multiple Naming Systems (Federation)

JNDI operations allow applications to supply names that span multiple naming systems. So in the process of completing an operation, one service provider might need to interact with another service provider, for example, to pass on the operation to be continued in the next naming system. The service provider package provides support for different providers to cooperate to complete JNDI operations.

Package Specification

Related Documentation

For a tutorial, examples, and overview, please see:


JNDI 1.1.1

For more information on JNDI, please see http://java.sun.com/products/jndi