Home » geronimo-2.2-source-release » org.apache.geronimo.naming.java » [javadoc | source]
org.apache.geronimo.naming.java
public class: RootContext [javadoc | source]
java.lang.Object
   org.apache.xbean.naming.context.ImmutableContext
      org.apache.geronimo.naming.java.RootContext
The root context for the java: namespace. Automatically handles switching the "java:comp" sub-context to the appropriate one for the current thread.
Constructor:
 public RootContext() throws NamingException 
Method from org.apache.geronimo.naming.java.RootContext Summary:
getComponentContext,   lookup,   setComponentContext
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.naming.java.RootContext Detail:
 public static Context getComponentContext() 
    Get the component context for the current thread.
 public Object lookup(String name) throws NamingException 
 public static  void setComponentContext(Context ctx) 
    Set the component context for the current thread. This will be returned for all lookups of "java:comp"