|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.tm.jotm.delegate.TransactionCCFDelegate
public abstract class TransactionCCFDelegate
Store the UserTransaction
object
under the java:comp/UserTransaction
name.
Field Summary | |
---|---|
protected TransactionSynchronizationRegistry |
tsr
TransactionSynchronizationRegistry object, to be shared by all components. |
protected UserTransaction |
userTransaction
UserTransaction object, to be shared by all components. |
Constructor Summary | |
---|---|
TransactionCCFDelegate()
|
Method Summary | |
---|---|
protected void |
init()
Initialize the Context. |
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 |
Field Detail |
---|
protected UserTransaction userTransaction
protected TransactionSynchronizationRegistry tsr
Constructor Detail |
---|
public TransactionCCFDelegate()
Method Detail |
---|
protected void init() throws NamingException
NamingException
- if unable to create the InitialContext.public void modify(Context componentContext) throws NamingException
java:comp
component Context.
modify
in interface JComponentContextFactoryDelegate
componentContext
- java:comp/
component context to be modified.
NamingException
- thrown if something goes wrong
during the Context
update.public void undo(Context componentContext) throws NamingException
undo
in interface JComponentContextFactoryDelegate
componentContext
- java:comp/
component context to be modified.
NamingException
- thrown if something goes wrong
during the Context
update.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |