
/* **************************************************************************

  $Archive: /njcl_v2rmi/src/com/novell/service/nds/naming/net/NetTreeDirContext.java $
  $Revision: 9 $
  $Modtime: 1/05/01 3:59p $
 
  Copyright (c) 1998 Novell, Inc.  All Rights Reserved.

  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  CRIMINAL AND CIVIL LIABILITY.

****************************************************************************/

package com.novell.service.nds.naming.net;


import javax.naming.Name;
import javax.naming.NamingException;

import com.novell.service.nds.NdsObjectInfo;
import com.novell.service.nds.naming.NdsName;

import com.novell.service.jncpv2r.net.NetObjectInfo;


/**@internal
 *
 */
public class NetTreeDirContext extends NetDirContext
{
   /**
    *
    */
   protected NetTreeDirContext (
         String objectName,
         NdsObjectInfo objectInfo,
         NetEnvironment netEnvironment)
      throws NamingException
   {
      super (objectName, objectInfo, netEnvironment);
   }


   // ******************** NetDirContext Class ********************

   /**
    *
    */
   protected synchronized NdsName getNameInstance ()
      throws NamingException
   {
      if (components == null)
      {
         components = (NdsName) nameParser.parse ("");
      }
      return (components);

   } /* getNameInstance () */

} /* NetTreeDirContext */


