org.ow2.jonas.tm.jotm.delegate
Class TransactionCCFDelegate
java.lang.Object
org.ow2.jonas.tm.jotm.delegate.TransactionCCFDelegate
- All Implemented Interfaces:
- org.ow2.jonas.naming.JComponentContextFactoryDelegate
- Direct Known Subclasses:
- ServerTransactionCCFDelegate, UserTransactionCCFDelegate
public abstract class TransactionCCFDelegate
- extends Object
- implements org.ow2.jonas.naming.JComponentContextFactoryDelegate
Store the UserTransaction UserTransaction object
under the java:comp/UserTransaction name.
- Author:
- Francois Fornaciari
|
Method Summary |
protected void |
init()
Initialize the Context. |
void |
modify(Context componentContext)
|
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 |
userTransaction
protected UserTransaction userTransaction
- UserTransaction object, to be shared by all components.
TransactionCCFDelegate
public TransactionCCFDelegate()
init
protected void init()
throws NamingException
- Initialize the Context.
- Throws:
NamingException - if unable to create the InitialContext.
modify
public void modify(Context componentContext)
throws NamingException
-
- Specified by:
modify in interface org.ow2.jonas.naming.JComponentContextFactoryDelegate
- Throws:
NamingException
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 org.ow2.jonas.naming.JComponentContextFactoryDelegate
- Parameters:
componentContext - java:comp/ component context to be modified.
- Throws:
NamingException - thrown if something goes wrong
during the Context update.
Copyright © 2008 OW2 Consortium. All Rights Reserved.