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