com.anabas.naming
Class ContextManager

java.lang.Object
  |
  +--com.anabas.naming.ContextManager

public class ContextManager
extends java.lang.Object

Title: Description: Copyright: Copyright (c) 2000 Company:


Constructor Summary
ContextManager()
           
 
Method Summary
 void addNode(ContextImpl ctx, java.lang.String objName, java.lang.Object o)
           
 ContextImpl getContext(java.lang.String absoluteName)
           
static ContextManager getContextManager()
           
static Context getInitialContext()
           
 java.util.Hashtable getRootTree()
           
static void printTree(Context ctx)
           
 void removeContextImpl(ContextImpl rctx)
           
 void removeNode(ContextImpl ctx, java.lang.String childName, java.lang.Object child)
           
 void setContextImpl(java.lang.String absoluteName, ContextImpl ctx)
           
static void setContextManager(ContextManager m)
           
static void setInitialContext(Context ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManager

public ContextManager()
Method Detail

getRootTree

public java.util.Hashtable getRootTree()

getInitialContext

public static Context getInitialContext()

setInitialContext

public static void setInitialContext(Context ctx)

addNode

public void addNode(ContextImpl ctx,
                    java.lang.String objName,
                    java.lang.Object o)

removeNode

public void removeNode(ContextImpl ctx,
                       java.lang.String childName,
                       java.lang.Object child)

setContextImpl

public void setContextImpl(java.lang.String absoluteName,
                           ContextImpl ctx)

getContext

public ContextImpl getContext(java.lang.String absoluteName)

removeContextImpl

public void removeContextImpl(ContextImpl rctx)

printTree

public static void printTree(Context ctx)
                      throws NamingException

setContextManager

public static void setContextManager(ContextManager m)

getContextManager

public static ContextManager getContextManager()