src/java.naming/share/classes/javax/naming/spi/package.html
changeset 55131 9889f5e3ba00
parent 47216 71c04702a3d5
equal deleted inserted replaced
55130:e6e4de80e058 55131:9889f5e3ba00
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
     2 <html>
     2 <html>
     3 <head>
     3 <head>
     4 <!--
     4 <!--
     5 Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     5 Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
     6 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     7 
     7 
     8 This code is free software; you can redistribute it and/or modify it
     8 This code is free software; you can redistribute it and/or modify it
     9 under the terms of the GNU General Public License version 2 only, as
     9 under the terms of the GNU General Public License version 2 only, as
    10 published by the Free Software Foundation.  Oracle designates this
    10 published by the Free Software Foundation.  Oracle designates this
    45 The JNDI SPI provides the means for creating JNDI service providers,
    45 The JNDI SPI provides the means for creating JNDI service providers,
    46 through which JNDI applications access different naming and
    46 through which JNDI applications access different naming and
    47 directory services.
    47 directory services.
    48 
    48 
    49 
    49 
    50 <h3>Plug-in Architecture</h3>
    50 <h2>Plug-in Architecture</h2>
    51 
    51 
    52 The service provider package allows different implementations to be plugged in
    52 The service provider package allows different implementations to be plugged in
    53 dynamically.
    53 dynamically.
    54 These different implementations include those for the
    54 These different implementations include those for the
    55 <em>initial context</em>,
    55 <em>initial context</em>,
    56 and implementations for contexts that can be reached 
    56 and implementations for contexts that can be reached 
    57 from the initial context.
    57 from the initial context.
    58 
    58 
    59 <h3>Java Object Support</h3>
    59 <h2>Java Object Support</h2>
    60 
    60 
    61 The service provider package provides support
    61 The service provider package provides support
    62 for implementors of the
    62 for implementors of the
    63 <code>javax.naming.Context.lookup()</code>
    63 <code>javax.naming.Context.lookup()</code>
    64 method and related methods to return Java objects that are natural
    64 method and related methods to return Java objects that are natural
    66 For example, when looking up a printer name from the directory,
    66 For example, when looking up a printer name from the directory,
    67 it is natural for you to expect to get
    67 it is natural for you to expect to get
    68 back a printer object on which to operate.
    68 back a printer object on which to operate.
    69 
    69 
    70 
    70 
    71 <h3>Multiple Naming Systems (Federation)</h3>
    71 <h2>Multiple Naming Systems (Federation)</h2>
    72 
    72 
    73 JNDI operations allow applications to supply names that span multiple
    73 JNDI operations allow applications to supply names that span multiple
    74 naming systems.  So in the process of completing
    74 naming systems.  So in the process of completing
    75 an operation, one service provider might need to interact
    75 an operation, one service provider might need to interact
    76 with another service provider, for example, to pass on
    76 with another service provider, for example, to pass on