jdk/src/java.naming/share/classes/javax/naming/Context.java
changeset 27565 729f9700483a
parent 25859 3317bb8137f4
child 32029 a5538163e144
equal deleted inserted replaced
27564:eaaa79b68cd5 27565:729f9700483a
   205  * When an application is deployed, it will generally have several
   205  * When an application is deployed, it will generally have several
   206  * codebase directories and JARs in its classpath. JNDI locates (using
   206  * codebase directories and JARs in its classpath. JNDI locates (using
   207  * {@link ClassLoader#getResources <tt>ClassLoader.getResources()</tt>})
   207  * {@link ClassLoader#getResources <tt>ClassLoader.getResources()</tt>})
   208  * all <em>application resource files</em> named <tt>jndi.properties</tt>
   208  * all <em>application resource files</em> named <tt>jndi.properties</tt>
   209  * in the classpath.
   209  * in the classpath.
   210  * In addition, if the file <i>java.home</i><tt>/lib/jndi.properties</tt>
   210  * In addition, if the Java installation directory contains a built-in
   211  * exists and is readable,
   211  * properties file, typically <tt>conf/jndi.properties</tt>,
   212  * JNDI treats it as an additional application resource file.
   212  * JNDI treats it as an additional application resource file.
   213  * (<i>java.home</i> indicates the
       
   214  * directory named by the <tt>java.home</tt> system property.)
       
   215  * All of the properties contained in these files are placed
   213  * All of the properties contained in these files are placed
   216  * into the environment of the initial context.  This environment
   214  * into the environment of the initial context.  This environment
   217  * is then inherited by other contexts.
   215  * is then inherited by other contexts.
   218  *
   216  *
   219  * <p>
   217  * <p>