public abstract class TransactionalInterceptorBase extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
TransactionalInterceptorBase(boolean userTransactionAvailable) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doIntercept(TransactionManager tm,
Transaction tx,
InvocationContext ic) |
protected void |
endTransaction(TransactionManager tm,
Transaction tx) |
protected TransactionManager |
getTransactionManager() |
protected void |
handleException(InvocationContext ic,
Exception e,
Transaction tx) |
Object |
intercept(InvocationContext ic) |
protected Object |
invokeInCallerTx(InvocationContext ic,
Transaction tx) |
protected Object |
invokeInNoTx(InvocationContext ic) |
protected Object |
invokeInOurTx(InvocationContext ic,
TransactionManager tm) |
protected void |
resetUserTransactionAvailability(boolean previousUserTransactionAvailability) |
protected boolean |
setUserTransactionAvailable(boolean available) |
protected TransactionalInterceptorBase(boolean userTransactionAvailable)
protected abstract Object doIntercept(TransactionManager tm, Transaction tx, InvocationContext ic) throws Exception
Exception
protected Object invokeInOurTx(InvocationContext ic, TransactionManager tm) throws Exception
Exception
protected Object invokeInCallerTx(InvocationContext ic, Transaction tx) throws Exception
Exception
protected void handleException(InvocationContext ic, Exception e, Transaction tx) throws Exception
Exception
protected void endTransaction(TransactionManager tm, Transaction tx) throws Exception
Exception
protected boolean setUserTransactionAvailable(boolean available)
protected void resetUserTransactionAvailability(boolean previousUserTransactionAvailability)
protected TransactionManager getTransactionManager()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.