Public Member Functions | |
Context | createEnvironmentContext (String namespace) throws NamingException |
Package Functions | |
Context | createImmutableEnvironmentContext (String namespace) throws NamingException |
Context | getComponentContext () throws NamingException |
Context | setComponentContext (Context ctx) |
void | setComponentContext (Context ctx, ClassLoader cl) |
void | setClientContainerComponentContext (Context ctx) |
Context | getComponentContext (ClassLoader cl) |
void | unSetComponentContext (ClassLoader cl) |
InitialContext | getInitialContext () |
Hashtable | getEnv () |
Definition at line 38 of file ContainerNaming.java.
|
Create context for application and component environments. Called by Web Container for each Web Application (as defined in web.xml). Called by EJB Container for each ejb component (as defined in ejb-jar.xml). The returned context provides an independent namespace for each components environment values, and resources.
Referenced by org.objectweb.jonas_ejb.container.JFactory.init(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.setGlobalNamingResources(). |
|
Create immutable context for application and component environments. Called by Web Container for each Web Application (as defined in web.xml). Called by EJB Container for each ejb component (as defined in ejb-jar.xml). The returned context provides an independent namespace for each components environment values, and resources. This context must exist in the underlying name service. It must be previously created by an earlier deployment.
|
|
Return the CompNamingContext associated with the given classloader.
|
|
Return the Context associated with the current thread.
Referenced by org.objectweb.jonas.ws.AbsWebServicesServiceImpl.completeWSDeployment(), org.objectweb.jonas_ejb.container.JTimerHandle.getTimer(), and org.objectweb.jonas_ejb.container.JStatefulContext.JStatefulContext(). |
|
Referenced by org.objectweb.jonas_ejb.container.JFactory.getEnv(). |
|
Gets the initial context
Referenced by org.objectweb.jonas_ejb.container.JContainer.addBean(), and org.objectweb.jonas_ejb.container.JFactory.getInitialContext(). |
|
Set the context used by client container (per JVM instead of per thread)
|
|
Associate the specified CompNamingContext with the given classloader.
|
|
Aassociate this Context with the current thread. This method should be called in preinvoke/postinvoke and when we build the bean environment.
Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(), org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), org.objectweb.jonas_ejb.container.JContainer.setBeanEnvironment(), org.objectweb.jonas_ejb.container.JFactory.setComponentContext(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.setGlobalNamingResources(). |
|
Remove the CompNamingContext associated with the given classloader.
|