public class ServerTopLevelAction extends ServerResource implements ResourceOperations
Modifier and Type | Field and Description |
---|---|
protected Resource |
_resourceRef |
protected ResourcePOATie |
_theResource |
_children, _destroyed, _parent, _theControl, _theUid, _valid
Modifier | Constructor and Description |
---|---|
protected |
ServerTopLevelAction() |
|
ServerTopLevelAction(ServerControl control) |
Modifier and Type | Method and Description |
---|---|
void |
commit_one_phase() |
void |
commit() |
protected void |
destroyResource() |
void |
forget() |
Resource |
getReference() |
boolean |
isTransactionInactive() |
Vote |
prepare() |
protected boolean |
registerResource(Coordinator theCoordinator) |
void |
rollback() |
String |
type() |
abortChild, addChild, control, destroyed, finalize, get_uid, getChild, getChildren, getChildren, getParentHandle, interposeResource, otsStatus, removeChild, setParentHandle, tidyup, valid
protected ResourcePOATie _theResource
protected Resource _resourceRef
public ServerTopLevelAction(ServerControl control)
protected ServerTopLevelAction()
public Resource getReference()
public Vote prepare() throws HeuristicMixed, HeuristicHazard, SystemException
prepare
in interface ResourceOperations
HeuristicMixed
HeuristicHazard
SystemException
public void rollback() throws HeuristicCommit, HeuristicMixed, HeuristicHazard, SystemException
rollback
in interface ResourceOperations
HeuristicCommit
HeuristicMixed
HeuristicHazard
SystemException
public void commit() throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard, SystemException
commit
in interface ResourceOperations
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
SystemException
public void forget() throws SystemException
forget
in interface ResourceOperations
SystemException
public void commit_one_phase() throws HeuristicHazard, SystemException
commit_one_phase
in interface ResourceOperations
HeuristicHazard
SystemException
public String type()
protected void destroyResource()
protected boolean registerResource(Coordinator theCoordinator)
public boolean isTransactionInactive()
Copyright © 2021 JBoss by Red Hat. All rights reserved.