org.jboss.cache.interceptors
Class BaseTransactionalContextInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.MethodDispacherInterceptor
org.jboss.cache.interceptors.BaseTransactionalContextInterceptor
- All Implemented Interfaces:
- InterceptorMBean
- Direct Known Subclasses:
- InvocationContextInterceptor, NotificationInterceptor, TxInterceptor
public abstract class BaseTransactionalContextInterceptor
- extends MethodDispacherInterceptor
Class providing some base functionality around manipulating transactions and global transactions withing invocation contexts.
- Author:
- Manik Surtani
Methods inherited from class org.jboss.cache.interceptors.MethodDispacherInterceptor |
handleAddChildMethod, handleBlockChannelMethod, handleCommitMethod, handleDataGravitationCleanupMethod, handleEvictMethod, handleEvictVersionedNodeMethod, handleExistsMethod, handleGetDataMapMethod, handleGetChildrenNamesMethod, handleGetKeysMethod, handleGetKeyValueMethod, handleGetNodeMethod, handleLockMethod, handleMoveMethod, handleOptimisticPrepareMethod, handlePrepareMethod, handlePrintMethod, handlePutDataEraseMethod, handlePutDataEraseVersionedMethod, handlePutDataMethod, handlePutDataVersionedMethod, handlePutForExternalReadMethod, handlePutForExternalReadVersionedMethod, handlePutKeyValueMethod, handlePutKeyValueVersionedMethod, handleReleaseAllLocksMethod, handleRemoveDataMethod, handleRemoveDataVersionedMethod, handleRemoveKeyMethod, handleRemoveKeyVersionedMethod, handleRemoveNodeMethod, handleRemoveNodeVersionedMethod, handleRollbackMethod, handleUnblockChannelMethod, invoke, skipMethodCall |
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
assertTransactionValid, dumpStatistics, getLast, getNext, getStatisticsEnabled, initLogger, isActive, isPreparing, isValid, nextInterceptor, peekNode, resetStatistics, setCache, setLast, setNext, setStatisticsEnabled, toString |
txTable
protected TransactionTable txTable
txManager
protected TransactionManager txManager
BaseTransactionalContextInterceptor
public BaseTransactionalContextInterceptor()
copyInvocationScopeOptionsToTxScope
protected void copyInvocationScopeOptionsToTxScope(InvocationContext ctx)
setTransactionalContext
protected void setTransactionalContext(Transaction tx,
GlobalTransaction gtx,
InvocationContext ctx)
isRollingBack
protected boolean isRollingBack(Transaction tx)
- Returns true if transaction is rolling back, false otherwise
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.