org.apache.naming
public class ContextBindings extends Object
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
protected static StringManager | sm
The string manager for this package. |
Method Summary | |
---|---|
static void | bindClassLoader(Object name)
Binds a naming context to a class loader.
|
static void | bindClassLoader(Object name, Object token)
Binds a naming context to a thread.
|
static void | bindClassLoader(Object name, Object token, ClassLoader classLoader)
Binds a naming context to a thread.
|
static void | bindContext(Object name, Context context)
Binds a context name.
|
static void | bindContext(Object name, Context context, Object token)
Binds a context name.
|
static void | bindThread(Object name)
Binds a naming context to a thread.
|
static void | bindThread(Object name, Object token)
Binds a naming context to a thread.
|
static Context | getClassLoader()
Retrieves the naming context bound to a class loader. |
static Context | getThread()
Retrieves the naming context bound to a thread. |
static boolean | isClassLoaderBound()
Tests if current class loader is bound to a context. |
static boolean | isThreadBound()
Tests if current thread is bound to a context. |
static void | unbindClassLoader(Object name)
Unbinds a naming context to a class loader.
|
static void | unbindClassLoader(Object name, Object token)
Unbinds a naming context to a class loader.
|
static void | unbindClassLoader(Object name, Object token, ClassLoader classLoader)
Unbinds a naming context to a class loader.
|
static void | unbindContext(Object name)
Unbind context name.
|
static void | unbindContext(Object name, Object token)
Unbind context name.
|
static void | unbindThread(Object name)
Unbinds a naming context to a thread.
|
static void | unbindThread(Object name, Object token)
Unbinds a naming context to a thread.
|
Parameters: name Name of the context
Parameters: name Name of the context token Security token
Parameters: name Name of the context token Security token
Parameters: name Name of the context context Associated naming context instance
Parameters: name Name of the context context Associated naming context instance token Security token
Parameters: name Name of the context
Parameters: name Name of the context token Security token
Parameters: name Name of the context
Parameters: name Name of the context token Security token
Parameters: name Name of the context token Security token
Parameters: name Name of the context
Parameters: name Name of the context token Security token
Parameters: name Name of the context
Parameters: name Name of the context token Security token