org.ow2.jonas.ejb2.internal.delegate
Class HandleDelegateCCFDelegate
java.lang.Object
org.ow2.jonas.ejb2.internal.delegate.HandleDelegateCCFDelegate
- All Implemented Interfaces:
- JComponentContextFactoryDelegate
public class HandleDelegateCCFDelegate
- extends Object
- implements JComponentContextFactoryDelegate
Store the HandleDelegate
shared instance in the java:comp/
Context.
- Author:
- Guillaume Sauthier
Method Summary |
void |
modify(Context componentContext)
Gives the possibility to modify the java:comp component Context. |
void |
undo(Context componentContext)
Undo the changes done by this delegate on the given java:comp context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandleDelegateCCFDelegate
public HandleDelegateCCFDelegate()
modify
public void modify(Context componentContext)
throws NamingException
- Gives the possibility to modify the
java:comp
component Context.
- Specified by:
modify
in interface JComponentContextFactoryDelegate
- Parameters:
componentContext
- java:comp/
component context to be modified.
- Throws:
NamingException
- thrown if something goes wrong
during the Context
update.
undo
public void undo(Context componentContext)
throws NamingException
- Undo the changes done by this delegate on the given java:comp context.
- Specified by:
undo
in interface JComponentContextFactoryDelegate
- Parameters:
componentContext
- java:comp/
component context to be modified.
- Throws:
NamingException
- thrown if something goes wrong
during the Context
update.
Copyright © 2010 OW2 Consortium. All Rights Reserved.