public class CallInterceptor extends CommandInterceptor
configuration| Constructor and Description |
|---|
CallInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
Object |
handleDefault(InvocationContext ctx,
VisitableCommand command)
The default behaviour of the visitXXX methods, which is to ignore the call and pass the call up to the next
interceptor in the chain.
|
Object |
visitCommitCommand(TxInvocationContext ctx,
CommitCommand command) |
Object |
visitLockControlCommand(TxInvocationContext ctx,
LockControlCommand c) |
Object |
visitPrepareCommand(TxInvocationContext ctx,
PrepareCommand command) |
Object |
visitRollbackCommand(TxInvocationContext ctx,
RollbackCommand command) |
getNext, hasNext, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandprotected Log getLog()
getLog in class CommandInterceptorpublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorThrowablepublic Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorThrowablepublic Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command) throws Throwable
visitRollbackCommand in interface VisitorvisitRollbackCommand in class AbstractVisitorThrowablepublic Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand c) throws Throwable
visitLockControlCommand in interface VisitorvisitLockControlCommand in class AbstractVisitorThrowablepublic final Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
CommandInterceptorhandleDefault in class CommandInterceptorctx - invocation contextcommand - command to invokeThrowable - in the event of problemsCopyright © 2012 JBoss by Red Hat. All Rights Reserved.