|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.naming.SingletonComponentContextFactory
public final class SingletonComponentContextFactory
Allow to create the context (java:) used in JOnAS application server.
| Method Summary | |
|---|---|
void |
addDelegate(org.ow2.jonas.naming.JComponentContextFactoryDelegate extension)
Add the given JComponentContextFactoryDelegate to this
NamingManager instance. |
Context |
createComponentContext(String id)
Create Context for component environments. |
static org.ow2.jonas.naming.JComponentContextFactory |
getInstance()
Return the unique instance of a JComponentContextFactory. |
void |
removeDelegate(org.ow2.jonas.naming.JComponentContextFactoryDelegate extension)
Remove the given JComponentContextFactoryDelegate from this
NamingManager instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.ow2.jonas.naming.JComponentContextFactory getInstance()
throws NamingException
JComponentContextFactory the unique instance.
NamingException - if it failed.
public void addDelegate(org.ow2.jonas.naming.JComponentContextFactoryDelegate extension)
throws NamingException
JComponentContextFactoryDelegate to this
NamingManager instance.
addDelegate in interface org.ow2.jonas.naming.JComponentContextFactoryextension - Added delegate
NamingException - if delegate is not added
public void removeDelegate(org.ow2.jonas.naming.JComponentContextFactoryDelegate extension)
throws NamingException
JComponentContextFactoryDelegate from this
NamingManager instance.
removeDelegate in interface org.ow2.jonas.naming.JComponentContextFactoryextension - Removed delegate
NamingException - if delegate is not removed
public Context createComponentContext(String id)
throws NamingException
Context for component environments.
The returned context is a Java EE Component Context.
createComponentContext in interface org.ow2.jonas.naming.JComponentContextFactoryid - the Context ID.
Context for component environment
NamingException - If exception encountered when creating namespace.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||