public class RollbackCommand extends AbstractTransactionCommand
Modifier and Type | Field and Description |
---|---|
static int |
METHOD_ID |
globalTransaction
Constructor and Description |
---|
RollbackCommand() |
RollbackCommand(GlobalTransaction globalTransaction) |
Modifier and Type | Method and Description |
---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
int |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
equals, getGlobalTransaction, getParameters, hashCode, perform, setGlobalTransaction, setParameters, toString
public static final int METHOD_ID
public RollbackCommand(GlobalTransaction globalTransaction)
public RollbackCommand()
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemspublic int getCommandId()
ReplicableCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.