|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.naming.ContextBindings
Handles the associations :
フィールドの概要 | |
protected static StringManager |
sm
The string manager for this package. |
コンストラクタの概要 | |
ContextBindings()
|
メソッドの概要 | |
static void |
bindClassLoader(java.lang.Object name)
Binds a naming context to a class loader. |
static void |
bindClassLoader(java.lang.Object name,
java.lang.Object token)
Binds a naming context to a thread. |
static void |
bindClassLoader(java.lang.Object name,
java.lang.Object token,
java.lang.ClassLoader classLoader)
Binds a naming context to a thread. |
static void |
bindContext(java.lang.Object name,
javax.naming.Context context)
Binds a context name. |
static void |
bindContext(java.lang.Object name,
javax.naming.Context context,
java.lang.Object token)
Binds a context name. |
static void |
bindThread(java.lang.Object name)
Binds a naming context to a thread. |
static void |
bindThread(java.lang.Object name,
java.lang.Object token)
Binds a naming context to a thread. |
static javax.naming.Context |
getClassLoader()
Retrieves the naming context bound to a class loader. |
static javax.naming.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(java.lang.Object name)
Unbinds a naming context to a class loader. |
static void |
unbindClassLoader(java.lang.Object name,
java.lang.Object token)
Unbinds a naming context to a class loader. |
static void |
unbindContext(java.lang.Object name)
Unbind context name. |
static void |
unbindContext(java.lang.Object name,
java.lang.Object token)
Unbind context name. |
static void |
unbindThread(java.lang.Object name)
Unbinds a naming context to a thread. |
static void |
unbindThread(java.lang.Object name,
java.lang.Object token)
Unbinds a naming context to a thread. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected static StringManager sm
コンストラクタの詳細 |
public ContextBindings()
メソッドの詳細 |
public static void bindContext(java.lang.Object name, javax.naming.Context context)
name
- Name of the contextcontext
- Associated naming context instancepublic static void bindContext(java.lang.Object name, javax.naming.Context context, java.lang.Object token)
name
- Name of the contextcontext
- Associated naming context instancetoken
- Security tokenpublic static void unbindContext(java.lang.Object name)
name
- Name of the contextpublic static void unbindContext(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static void bindThread(java.lang.Object name) throws javax.naming.NamingException
name
- Name of the contextpublic static void bindThread(java.lang.Object name, java.lang.Object token) throws javax.naming.NamingException
name
- Name of the contexttoken
- Security tokenpublic static void unbindThread(java.lang.Object name)
name
- Name of the contextpublic static void unbindThread(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static javax.naming.Context getThread() throws javax.naming.NamingException
public static boolean isThreadBound()
public static void bindClassLoader(java.lang.Object name) throws javax.naming.NamingException
name
- Name of the contextpublic static void bindClassLoader(java.lang.Object name, java.lang.Object token) throws javax.naming.NamingException
name
- Name of the contexttoken
- Security tokenpublic static void bindClassLoader(java.lang.Object name, java.lang.Object token, java.lang.ClassLoader classLoader) throws javax.naming.NamingException
name
- Name of the contexttoken
- Security tokenpublic static void unbindClassLoader(java.lang.Object name)
name
- Name of the contextpublic static void unbindClassLoader(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static javax.naming.Context getClassLoader() throws javax.naming.NamingException
public static boolean isClassLoaderBound()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |