|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xjb.cmt.XjbTransactionHandler
| Field Summary |
| Fields inherited from interface com.thoughtworks.xjb.cmt.TransactionPolicyHandler |
NULL |
| Fields inherited from interface com.thoughtworks.xjb.cmt.TransactionGetter |
NULL |
| Constructor Summary | |
XjbTransactionHandler(TransactionFactory factory)
|
|
| Method Summary | |
Transaction |
getTransaction()
|
void |
onFailure()
|
Transaction |
onInvoke(Policy policy)
Set up the correct transactional context for calling a CMT method |
void |
onSuccess()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XjbTransactionHandler(TransactionFactory factory)
| Method Detail |
public Transaction getTransaction()
getTransaction in interface TransactionGetterpublic Transaction onInvoke(Policy policy)
onInvoke in interface TransactionPolicyHandlerjavax.ejb.EJBException - if preconditions are not satisfied for a particular policypublic void onSuccess()
onSuccess in interface TransactionPolicyHandlerpublic void onFailure()
onFailure in interface TransactionPolicyHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||