<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
</head>
<body bgcolor="white">
Provides the means for dynamically plugging in support for accessing
naming and directory services through the <code>javax.naming</code>
and related packages.
<p>
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.
<p>
The JNDI SPI provides the means for creating JNDI service providers,
through which JNDI applications access different naming and
directory services.
<h2>Plug-in Architecture</h2>
The service provider package allows different implementations to be plugged in
dynamically.
These different implementations include those for the
<em>initial context</em>,
and implementations for contexts that can be reached
from the initial context.
<h2>Java Object Support</h2>
The service provider package provides support
for implementors of the
<code>javax.naming.Context.lookup()</code>
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.
<h2>Multiple Naming Systems (Federation)</h2>
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
/**代码未完, 请加载全部代码(NowJava.com).**/