Home » apache-tomcat-6.0.26-src » org.apache » naming » [javadoc | source]
org.apache.naming
public class: ContextBindings [javadoc | source]
java.lang.Object
   org.apache.naming.ContextBindings
Handles the associations :
Field Summary
protected static  StringManager sm    The string manager for this package. 
Method from org.apache.naming.ContextBindings Summary:
bindClassLoader,   bindClassLoader,   bindClassLoader,   bindContext,   bindContext,   bindThread,   bindThread,   getClassLoader,   getClassLoaderName,   getContext,   getThread,   getThreadName,   isClassLoaderBound,   isThreadBound,   unbindClassLoader,   unbindClassLoader,   unbindClassLoader,   unbindContext,   unbindContext,   unbindThread,   unbindThread
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.naming.ContextBindings Detail:
 public static  void bindClassLoader(Object name) throws NamingException 
    Binds a naming context to a class loader.
 public static  void bindClassLoader(Object name,
    Object token) throws NamingException 
    Binds a naming context to a thread.
 public static  void bindClassLoader(Object name,
    Object token,
    ClassLoader classLoader) throws NamingException 
    Binds a naming context to a thread.
 public static  void bindContext(Object name,
    Context context) 
    Binds a context name.
 public static  void bindContext(Object name,
    Context context,
    Object token) 
    Binds a context name.
 public static  void bindThread(Object name) throws NamingException 
    Binds a naming context to a thread.
 public static  void bindThread(Object name,
    Object token) throws NamingException 
    Binds a naming context to a thread.
 public static Context getClassLoader() throws NamingException 
    Retrieves the naming context bound to a class loader.
 static Object getClassLoaderName() throws NamingException 
    Retrieves the naming context name bound to a class loader.
 static Context getContext(Object name) 
    Retrieve a naming context.
 public static Context getThread() throws NamingException 
    Retrieves the naming context bound to a thread.
 static Object getThreadName() throws NamingException 
    Retrieves the naming context name bound to a thread.
 public static boolean isClassLoaderBound() 
    Tests if current class loader is bound to a context.
 public static boolean isThreadBound() 
    Tests if current thread is bound to a context.
 public static  void unbindClassLoader(Object name) 
    Unbinds a naming context to a class loader.
 public static  void unbindClassLoader(Object name,
    Object token) 
    Unbinds a naming context to a class loader.
 public static  void unbindClassLoader(Object name,
    Object token,
    ClassLoader classLoader) 
    Unbinds a naming context to a class loader.
 public static  void unbindContext(Object name) 
    Unbind context name.
 public static  void unbindContext(Object name,
    Object token) 
    Unbind context name.
 public static  void unbindThread(Object name) 
    Unbinds a naming context to a thread.
 public static  void unbindThread(Object name,
    Object token) 
    Unbinds a naming context to a thread.