org.jboss.cache.interceptors
Class InvocationContextInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.MethodDispacherInterceptor
org.jboss.cache.interceptors.BaseTransactionalContextInterceptor
org.jboss.cache.interceptors.InvocationContextInterceptor
- All Implemented Interfaces:
- InterceptorMBean, InvocationContextInterceptorMBean
public class InvocationContextInterceptor
- extends BaseTransactionalContextInterceptor
- implements InvocationContextInterceptorMBean
Always place this interceptor at the start of the interceptor chain to ensure invocation contexts and set up and cleaned up correctly.
- Author:
- Manik Surtani (manik@jboss.org)
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, 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 |
InvocationContextInterceptor
public InvocationContextInterceptor()
invoke
public Object invoke(InvocationContext ctx)
throws Throwable
- Description copied from class:
MethodDispacherInterceptor
- Acts like a 'switch case' that delegates the call to the appropriate method.
- Overrides:
invoke
in class MethodDispacherInterceptor
- Throws:
Throwable
findGlobalTransaction
protected GlobalTransaction findGlobalTransaction(Object[] params)
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.