|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.transaction.interceptors.AbsTransactionInterceptor
public abstract class AbsTransactionInterceptor
Defines an abstract interceptor for transaction with common code used by all transaction interceptors.
Field Summary | |
---|---|
private javax.transaction.TransactionManager |
transactionManager
Transaction manager. |
Constructor Summary | |
---|---|
AbsTransactionInterceptor()
Constructor. Acquire the transaction manager. |
Method Summary | |
---|---|
javax.transaction.TransactionManager |
getTransactionManager()
Gets the transaction manager. |
abstract java.lang.Object |
intercept(EasyBeansInvocationContext invocationContext)
Defines the code used by the transaction interceptor on a given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.transaction.TransactionManager transactionManager
Constructor Detail |
---|
public AbsTransactionInterceptor()
Method Detail |
---|
public abstract java.lang.Object intercept(EasyBeansInvocationContext invocationContext) throws java.lang.Exception
intercept
in interface EasyBeansInterceptor
invocationContext
- context with useful attributes on the current
invocation
java.lang.Exception
- if interceptor failspublic javax.transaction.TransactionManager getTransactionManager()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |