public class ServerNestedAction extends ServerResource implements SubtransactionAwareResourceOperations
Modifier and Type | Field and Description |
---|---|
protected SubtransactionAwareResource |
_resourceRef |
protected SubtransactionAwareResourcePOATie |
_theResource |
_children, _destroyed, _parent, _theControl, _theUid, _valid
Modifier | Constructor and Description |
---|---|
protected |
ServerNestedAction() |
|
ServerNestedAction(ServerControl myControl)
Create local transactions with same ids as remote.
|
Modifier and Type | Method and Description |
---|---|
void |
commit_one_phase() |
void |
commit_subtransaction(Coordinator parent) |
void |
commit() |
protected void |
destroyResource() |
void |
forget() |
Vote |
prepare() |
protected boolean |
registerSubTran(Coordinator theCoordinator) |
void |
rollback_subtransaction() |
void |
rollback() |
SubtransactionAwareResource |
theResource() |
abortChild, addChild, control, destroyed, finalize, get_uid, getChild, getChildren, getChildren, getParentHandle, interposeResource, otsStatus, removeChild, setParentHandle, tidyup, valid
protected SubtransactionAwareResourcePOATie _theResource
protected SubtransactionAwareResource _resourceRef
public ServerNestedAction(ServerControl myControl)
protected ServerNestedAction()
public void commit_subtransaction(Coordinator parent) throws SystemException
commit_subtransaction
in interface SubtransactionAwareResourceOperations
SystemException
public void rollback_subtransaction() throws SystemException
rollback_subtransaction
in interface SubtransactionAwareResourceOperations
SystemException
public Vote prepare() throws SystemException, HeuristicMixed, HeuristicHazard
prepare
in interface ResourceOperations
SystemException
HeuristicMixed
HeuristicHazard
public void rollback() throws SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard
rollback
in interface ResourceOperations
SystemException
HeuristicCommit
HeuristicMixed
HeuristicHazard
public void commit() throws SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
commit
in interface ResourceOperations
SystemException
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
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 SubtransactionAwareResource theResource()
protected final void destroyResource()
protected boolean registerSubTran(Coordinator theCoordinator)
Copyright © 2021 JBoss by Red Hat. All rights reserved.