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, validprotected SubtransactionAwareResourcePOATie _theResource
protected SubtransactionAwareResource _resourceRef
public ServerNestedAction(ServerControl myControl)
protected ServerNestedAction()
public void commit_subtransaction(Coordinator parent) throws SystemException
commit_subtransaction in interface SubtransactionAwareResourceOperationsSystemExceptionpublic void rollback_subtransaction()
throws SystemException
rollback_subtransaction in interface SubtransactionAwareResourceOperationsSystemExceptionpublic Vote prepare() throws SystemException, HeuristicMixed, HeuristicHazard
prepare in interface ResourceOperationsSystemExceptionHeuristicMixedHeuristicHazardpublic void rollback()
throws SystemException,
HeuristicCommit,
HeuristicMixed,
HeuristicHazard
rollback in interface ResourceOperationsSystemExceptionHeuristicCommitHeuristicMixedHeuristicHazardpublic void commit()
throws SystemException,
NotPrepared,
HeuristicRollback,
HeuristicMixed,
HeuristicHazard
commit in interface ResourceOperationsSystemExceptionNotPreparedHeuristicRollbackHeuristicMixedHeuristicHazardpublic void forget()
throws SystemException
forget in interface ResourceOperationsSystemExceptionpublic void commit_one_phase()
throws HeuristicHazard,
SystemException
commit_one_phase in interface ResourceOperationsHeuristicHazardSystemExceptionpublic SubtransactionAwareResource theResource()
protected final void destroyResource()
protected boolean registerSubTran(Coordinator theCoordinator)
Copyright © 2014 JBoss by Red Hat. All rights reserved.