|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JNamingManager
Provide naming services for JOnAS containers. Containers use this interface for binding the environment entries, remote object references, resource factories and for managing the naming context of the current thread.
Method Summary | |
---|---|
Context |
getComponentContext()
Return the Context associated with the current thread. |
Context |
getComponentContext(ClassLoader cl)
Return the ComponentContext associated with the given classloader. |
Hashtable |
getEnv()
|
InitialContext |
getInitialContext()
Gets the initial context. |
void |
resetComponentContext(Context ctx)
Set back the context with the given value. |
void |
setClientContainerComponentContext(Context ctx)
Set the context used by client container (per JVM instead of per thread). |
Context |
setComponentContext(Context ctx)
Associate this Context with the current thread. |
void |
setComponentContext(Context ctx,
ClassLoader cl)
Associate the specified ComponentContext with the given classloader. |
void |
setJComponentContextFactory(JComponentContextFactory factory)
Set the unique instance of the JComponentContextFactory. |
void |
unSetComponentContext(ClassLoader cl)
Remove the ComponentContext associated with the given classloader. |
Method Detail |
---|
Context getComponentContext() throws NamingException
NamingException
- If context namespace does not exist.Context setComponentContext(Context ctx)
ctx
- Context to associate with the current thread.
void resetComponentContext(Context ctx)
ctx
- the context to associate to the current thread.void setComponentContext(Context ctx, ClassLoader cl)
ctx
- the context to associate to the classloader.cl
- the classloader which is bind to the context.void setClientContainerComponentContext(Context ctx)
ctx
- the context to setContext getComponentContext(ClassLoader cl)
cl
- the classloader which is bind to the context.
void unSetComponentContext(ClassLoader cl)
cl
- the classloader which is bind to the context.InitialContext getInitialContext()
Hashtable getEnv()
void setJComponentContextFactory(JComponentContextFactory factory)
factory
- the component context factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |