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, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
protected Log getLog()
getLog
in class CommandInterceptor
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand
in interface Visitor
visitPrepareCommand
in class AbstractVisitor
Throwable
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand
in interface Visitor
visitCommitCommand
in class AbstractVisitor
Throwable
public Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command) throws Throwable
visitRollbackCommand
in interface Visitor
visitRollbackCommand
in class AbstractVisitor
Throwable
public Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand c) throws Throwable
visitLockControlCommand
in interface Visitor
visitLockControlCommand
in class AbstractVisitor
Throwable
public final Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
CommandInterceptor
handleDefault
in class CommandInterceptor
ctx
- invocation contextcommand
- command to invokeThrowable
- in the event of problemsCopyright © 2012 JBoss by Red Hat. All Rights Reserved.