|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xbean.naming.context.AbstractContext
org.apache.xbean.naming.context.ImmutableContext
org.apache.geronimo.naming.java.RootContext
public class RootContext
The root context for the java: namespace. Automatically handles switching the "java:comp" sub-context to the appropriate one for the current thread.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.xbean.naming.context.ImmutableContext |
|---|
org.apache.xbean.naming.context.ImmutableContext.NestedImmutableContext |
| Field Summary |
|---|
| Fields inherited from interface javax.naming.Context |
|---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
| Constructor Summary | |
|---|---|
RootContext()
|
|
| Method Summary | |
|---|---|
static Context |
getComponentContext()
Get the component context for the current thread. |
Object |
lookup(String name)
|
static void |
setComponentContext(Context ctx)
Set the component context for the current thread. |
| Methods inherited from class org.apache.xbean.naming.context.ImmutableContext |
|---|
addBinding, addDeepBinding, createNestedSubcontext, getBindings, getDeepBinding, isNestedSubcontext, removeBinding, removeDeepBinding |
| Methods inherited from class org.apache.xbean.naming.context.AbstractContext |
|---|
addBinding, addDeepBinding, addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, createSubcontextTree, destroySubcontext, destroySubcontext, faultLookup, getBinding, getContextAccess, getEnvironment, getNameInNamespace, getNameInNamespace, getNameInNamespace, getNameParser, getNameParser, getNameParser, getParsedNameInNamespace, getSize, isEmpty, list, list, list, listBindings, listBindings, listBindings, lookup, lookup, lookupFinalContext, lookupLink, lookupLink, rebind, rebind, removeDeepBinding, removeFromEnvironment, rename, rename, unbind, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RootContext()
throws NamingException
NamingException| Method Detail |
|---|
public Object lookup(String name)
throws NamingException
lookup in interface Contextlookup in class org.apache.xbean.naming.context.AbstractContextNamingExceptionpublic static void setComponentContext(Context ctx)
ctx - the current components contextpublic static Context getComponentContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||