|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.commands.AbstractVisitor
org.jboss.cache.interceptors.base.CommandInterceptor
org.jboss.cache.interceptors.BaseTransactionalContextInterceptor
org.jboss.cache.interceptors.InvocationContextInterceptor
public class InvocationContextInterceptor
Always place this interceptor at the start of the interceptor chain to ensure invocation contexts and set up and cleaned up correctly.
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.interceptors.BaseTransactionalContextInterceptor |
|---|
txManager, txTable |
| Fields inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
|---|
configuration, log, trace |
| Constructor Summary | |
|---|---|
InvocationContextInterceptor()
|
|
| Methods inherited from class org.jboss.cache.interceptors.BaseTransactionalContextInterceptor |
|---|
copyInvocationScopeOptionsToTxScope, isRollingBack, setTransactionalContext |
| Methods inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
|---|
getNext, hasNext, invokeNextInterceptor, setNext |
| Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
|---|
visitCollection, visitCreateNodeCommand, visitEvictFqnCommand, visitGetDataMapCommand, visitGetChildrenNamesCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationContextInterceptor()
| Method Detail |
|---|
public void setDependencies(RPCManager rpcManager)
public Object visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
throws Throwable
Visitor
visitPutDataMapCommand in interface VisitorvisitPutDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitExistsNodeCommand(InvocationContext ctx,
ExistsCommand command)
throws Throwable
Visitor
visitExistsNodeCommand in interface VisitorvisitExistsNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
throws Throwable
Visitor
visitPutForExternalReadCommand in interface VisitorvisitPutForExternalReadCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws Throwable
Visitor
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
throws Throwable
Visitor
visitRemoveNodeCommand in interface VisitorvisitRemoveNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
throws Throwable
Visitor
visitClearDataCommand in interface VisitorvisitClearDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
throws Throwable
Visitor
visitRemoveKeyCommand in interface VisitorvisitRemoveKeyCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPrepareCommand(InvocationContext ctx,
PrepareCommand command)
throws Throwable
Visitor
visitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRollbackCommand(InvocationContext ctx,
RollbackCommand command)
throws Throwable
Visitor
visitRollbackCommand in interface VisitorvisitRollbackCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitCommitCommand(InvocationContext ctx,
CommitCommand command)
throws Throwable
Visitor
visitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitOptimisticPrepareCommand(InvocationContext ctx,
OptimisticPrepareCommand command)
throws Throwable
Visitor
visitOptimisticPrepareCommand in interface VisitorvisitOptimisticPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object handleDefault(InvocationContext ctx,
VisitableCommand command)
throws Throwable
CommandInterceptor
handleDefault in class CommandInterceptorctx - invocation contextcommand - command to invoke
Throwable - in the event of problems
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||