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

  $Archive: /njcl_v2/src/com/novell/service/server/ServerSchemaDefContext.java $
  $Revision: 6 $
  $Modtime: 9/22/99 6:10p $
 
  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.server;

import com.novell.utility.naming.*;
import com.novell.utility.naming.directory.*;
import javax.naming.*;
import  com.sun.jndi.toolkit.*;

/** @internal
 * Only used to get 'server' in the class name when bindings
 * are displayed.
 */
public class ServerSchemaDefContext extends StaticClassDefContext
{
   NameParser parser = null;
   String serverName;

   public ServerSchemaDefContext (
         String name,
         String serverName)
   {
      super (name);

      this.serverName = serverName;
   }

/*
   protected  NameParser c_getNameParser (
         Name name,
         Continuation cont)
      throws NamingException
   {
      if (name.isEmpty())
      {
         cont.setSuccess();

         if (parser == null)
            parser = new FlatNameParser("server+schema+" + serverName);

         return (parser);
      }
      else
      {
         Object obj = c_lookup(name, cont);
         cont.setContinue(obj, name, this);
         return (null);
      }
   }
*/

} /* ServerSchemaDefContext */


