|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.naming.ContextBindings
public class ContextBindings
Handles the associations :
| Field Summary | |
|---|---|
protected static StringManager |
sm
The string manager for this package. |
| Constructor Summary | |
|---|---|
ContextBindings()
|
|
| Method Summary | |
|---|---|
static void |
bindClassLoader(Object name)
Deprecated. - unused |
static void |
bindClassLoader(Object name,
Object token)
Deprecated. - unused |
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)
Deprecated. - unused |
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)
Deprecated. - unused |
static void |
unbindClassLoader(Object name,
Object token)
Deprecated. - unused |
static void |
unbindClassLoader(Object name,
Object token,
ClassLoader classLoader)
Unbinds a naming context to a class loader. |
static void |
unbindContext(Object name)
Deprecated. - unused |
static void |
unbindContext(Object name,
Object token)
Unbind context name. |
static void |
unbindThread(Object name)
Deprecated. - unused |
static void |
unbindThread(Object name,
Object token)
Unbinds a naming context to a thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final StringManager sm
| Constructor Detail |
|---|
public ContextBindings()
| Method Detail |
|---|
public static void bindContext(Object name,
Context context)
name - Name of the contextcontext - Associated naming context instance
public static void bindContext(Object name,
Context context,
Object token)
name - Name of the contextcontext - Associated naming context instancetoken - Security token@Deprecated public static void unbindContext(Object name)
name - Name of the context
public static void unbindContext(Object name,
Object token)
name - Name of the contexttoken - Security token
@Deprecated
public static void bindThread(Object name)
throws NamingException
name - Name of the context
NamingException
public static void bindThread(Object name,
Object token)
throws NamingException
name - Name of the contexttoken - Security token
NamingException@Deprecated public static void unbindThread(Object name)
name - Name of the context
public static void unbindThread(Object name,
Object token)
name - Name of the contexttoken - Security token
public static Context getThread()
throws NamingException
NamingExceptionpublic static boolean isThreadBound()
@Deprecated
public static void bindClassLoader(Object name)
throws NamingException
name - Name of the context
NamingException
@Deprecated
public static void bindClassLoader(Object name,
Object token)
throws NamingException
name - Name of the contexttoken - Security token
NamingException
public static void bindClassLoader(Object name,
Object token,
ClassLoader classLoader)
throws NamingException
name - Name of the contexttoken - Security token
NamingException@Deprecated public static void unbindClassLoader(Object name)
name - Name of the context
@Deprecated
public static void unbindClassLoader(Object name,
Object token)
name - Name of the contexttoken - Security token
public static void unbindClassLoader(Object name,
Object token,
ClassLoader classLoader)
name - Name of the contexttoken - Security token
public static Context getClassLoader()
throws NamingException
NamingExceptionpublic static boolean isClassLoaderBound()
|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||