|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.transaction.interceptors.AbsTransactionInterceptor
org.objectweb.easybeans.transaction.interceptors.BMTStatefulTransactionInterceptor
public class BMTStatefulTransactionInterceptor
Defines an interceptor for method that are in Bean managed mode and then in Bean Managed Transaction : for a stateful bean.
Field Summary | |
---|---|
private JLog |
logger
Logger. |
Constructor Summary | |
---|---|
BMTStatefulTransactionInterceptor()
Constructor. Acquire the transaction manager. |
Method Summary | |
---|---|
java.lang.Object |
intercept(EasyBeansInvocationContext invocationContext)
Execute transaction as specified for BMT. |
Methods inherited from class org.objectweb.easybeans.transaction.interceptors.AbsTransactionInterceptor |
---|
commit, discard, getApplicationException, getTransactionManager, handleBeanManagedException, handleContextClientTransaction, handleContextContainerTransaction, handleUnspecifiedTransactionContext, isMarkedRollbackOnly, markTransactionRollback, rollback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private JLog logger
Constructor Detail |
---|
public BMTStatefulTransactionInterceptor()
Method Detail |
---|
public java.lang.Object intercept(EasyBeansInvocationContext invocationContext) throws java.lang.Exception
intercept
in interface EasyBeansInterceptor
intercept
in class AbsTransactionInterceptor
invocationContext
- context with useful attributes on the current
invocation
java.lang.Exception
- if interceptor fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |