|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.naming.SingletonComponentContextFactory
public final class SingletonComponentContextFactory
Allow to create the context (java:) used in JOnAS application server.
Method Summary | |
---|---|
void |
addDelegate(JComponentContextFactoryDelegate extension)
Add the given JComponentContextFactoryDelegate to this
NamingManager instance. |
Context |
createComponentContext(String id)
Create Context for component environments. |
static JComponentContextFactory |
getInstance()
Return the unique instance of a JComponentContextFactory. |
void |
removeDelegate(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 JComponentContextFactory getInstance() throws NamingException
JComponentContextFactory
the unique instance.
NamingException
- if it failed.public void addDelegate(JComponentContextFactoryDelegate extension) throws NamingException
JComponentContextFactoryDelegate
to this
NamingManager instance.
addDelegate
in interface JComponentContextFactory
extension
- Added delegate
NamingException
- if delegate is not addedpublic void removeDelegate(JComponentContextFactoryDelegate extension) throws NamingException
JComponentContextFactoryDelegate
from this
NamingManager instance.
removeDelegate
in interface JComponentContextFactory
extension
- Removed delegate
NamingException
- if delegate is not removedpublic Context createComponentContext(String id) throws NamingException
Context
for component environments.
The returned context is a Java EE Component Context.
createComponentContext
in interface JComponentContextFactory
id
- 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 |