|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JComponentContextFactory
A JComponentContextFactory is a factory for JOnAS Component's Context.
org.ow2.jonas.lib.naming.ComponentContext| Method Summary | |
|---|---|
void |
addDelegate(JComponentContextFactoryDelegate extension)
Add the given JComponentContextFactoryDelegate to this NamingManager instance. |
Context |
createComponentContext(String id)
Create Context for component environments. |
Context |
createComponentContext(String id,
Context moduleContext,
Context appContext)
Create Context for component environments. |
void |
removeDelegate(JComponentContextFactoryDelegate extension)
Remove the given JComponentContextFactoryDelegate from this NamingManager instance. |
| Method Detail |
|---|
Context createComponentContext(String id)
throws NamingException
Context for component environments.
The returned context is a Java EE Component Context.
It contains pre-defined references (according to
the registered JComponentContextFactoryDelegate):
java:comp/ORBjava:comp/HandleDelegatejava:comp/UserTransaction
id - the Context ID.
Context for component environment
NamingException - If exception encountered when creating namespace.
Context createComponentContext(String id,
Context moduleContext,
Context appContext)
throws NamingException
Context for component environments. The returned context
is a Java EE Component Context.
id - the Context ID.moduleContext - the application context shared by all the components
in a moduleappContext - the application context shared by all the applications
Context for component environment
NamingException - If exception encountered when creating namespace.
void addDelegate(JComponentContextFactoryDelegate extension)
throws NamingException
JComponentContextFactoryDelegate to this NamingManager instance.
extension - Added delegate
NamingException - if the delegates is not added.
void removeDelegate(JComponentContextFactoryDelegate extension)
throws NamingException
JComponentContextFactoryDelegate from this NamingManager instance.
extension - Removed delegate
NamingException - if the delegates is not removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||