jdk/src/share/classes/com/sun/jndi/toolkit/ctx/AtomicContext.java
changeset 25808 e113d0a0fde0
parent 10324 e28265130e4f
equal deleted inserted replaced
25807:6c325960c9ee 25808:e113d0a0fde0
    94     /* Resolution method for supporting federation */
    94     /* Resolution method for supporting federation */
    95     /**
    95     /**
    96       * Resolves the nns for 'name' when the named context is acting
    96       * Resolves the nns for 'name' when the named context is acting
    97       * as an intermediate context.
    97       * as an intermediate context.
    98       *
    98       *
    99       * For a system that supports junctions, this would be equilvalent to
    99       * For a system that supports junctions, this would be equivalent to
   100       *         a_lookup(name, cont);
   100       *         a_lookup(name, cont);
   101       * because for junctions, an intermediate slash simply signifies
   101       * because for junctions, an intermediate slash simply signifies
   102       * a syntactic separator.
   102       * a syntactic separator.
   103       *
   103       *
   104       * For a system that supports implicit nns, this would be equivalent to
   104       * For a system that supports implicit nns, this would be equivalent to
   485         throws NamingException {
   485         throws NamingException {
   486             if (_contextType == _ATOMIC) {
   486             if (_contextType == _ATOMIC) {
   487                 resolve_to_nns_and_continue(name, cont);
   487                 resolve_to_nns_and_continue(name, cont);
   488                 return null;
   488                 return null;
   489             } else {
   489             } else {
   490                 // use COmponentContext
   490                 // use ComponentContext
   491                 return super.c_getNameParser_nns(name, cont);
   491                 return super.c_getNameParser_nns(name, cont);
   492             }
   492             }
   493         }
   493         }
   494 
   494 
   495 // --------------    internal methods used by this class
   495 // --------------    internal methods used by this class