1178N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
1178N/ACopyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved. 1178N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1178N/AThis code is free software; you can redistribute it and/or modify it 1178N/Aunder the terms of the GNU General Public License version 2 only, as 1178N/Apublished by the Free Software Foundation. Sun designates this 1178N/Aparticular file as subject to the "Classpath" exception as provided 1178N/Aby Sun in the LICENSE file that accompanied this code. 1178N/AThis code is distributed in the hope that it will be useful, but WITHOUT 1178N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1178N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1178N/Aversion 2 for more details (a copy is included in the LICENSE file that 1178N/AYou should have received a copy of the GNU General Public License version 1178N/A2 along with this work; if not, write to the Free Software Foundation, 1178N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1178N/APlease contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1178N/AProvides the means for dynamically plugging in support for accessing
1178N/AThis package defines the service provider interface (SPI) of the Java Naming
1178N/Aand Directory Interface<
font size=-
2><
sup>TM</
sup></
font> (JNDI).
1178N/AJNDI provides naming and directory functionality to applications
1178N/Awritten in the Java programming language. It is designed to be
1178N/Aindependent of any specific naming or directory service
1178N/Aimplementation. Thus a variety of services--new, emerging, and
1178N/Aalready deployed ones--can be accessed in a common way.
1178N/AThe JNDI SPI provides the means for creating JNDI service providers,
1178N/Athrough which JNDI applications access different naming and
0N/A<
h4>Plug-in Architecture</
h4>
0N/AThe service provider package allows different implementations to be plugged in
1178N/AThese different implementations include those for the
1178N/Aand implementations for contexts that can be reached
0N/A<
h4>Java Object Support</
h4>
1178N/AThe service provider package provides support
0N/Afor implementors of the
1178N/Amethod and related methods to return Java objects that are natural
1178N/Aand intuitive for the Java programmer.
1178N/AFor example, when looking up a printer name from the directory,
1178N/Ait is natural for you to expect to get
0N/Aback a printer object on which to operate.
1178N/A<
h4>Multiple Naming Systems (Federation)</
h4>
1178N/AJNDI operations allow applications to supply names that span multiple
1178N/Anaming systems. So in the process of completing
1178N/Aan operation, one service provider might need to interact
1178N/Awith another service provider, for example, to pass on
1178N/Athe operation to be continued in the next naming system.
0N/AThe service provider package provides support for
1178N/Adifferent providers to cooperate to complete JNDI operations.
1178N/A<
h2>Package Specification</
h2>
1178N/AThe JNDI SPI Specification and related documents can be found in the