Class ServerNestedAction
java.lang.Object
com.arjuna.ats.internal.jts.interposition.resources.arjuna.ServerResource
com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.ServerNestedAction
- All Implemented Interfaces:
ResourceOperations
,SubtransactionAwareResourceOperations
- Direct Known Subclasses:
ServerRestrictedNestedAction
,ServerStrictNestedAction
public class ServerNestedAction
extends ServerResource
implements SubtransactionAwareResourceOperations
This looks like an atomic action, but is not actually derived from
BasicAction or OTS_Transaction. This is because of the way in which the OTS
creates and manipulates transactions. This is a nested action proxy.
-
Field Summary
Modifier and TypeFieldDescriptionprotected SubtransactionAwareResource
protected SubtransactionAwareResourcePOATie
Fields inherited from class com.arjuna.ats.internal.jts.interposition.resources.arjuna.ServerResource
_children, _destroyed, _parent, _theControl, _theUid, _valid
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServerNestedAction
(ServerControl myControl) Create local transactions with same ids as remote. -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
void
void
commit_subtransaction
(Coordinator parent) protected final void
void
forget()
prepare()
protected boolean
registerSubTran
(Coordinator theCoordinator) void
rollback()
void
Methods inherited from class com.arjuna.ats.internal.jts.interposition.resources.arjuna.ServerResource
abortChild, addChild, control, destroyed, finalize, get_uid, getChild, getChildren, getChildren, getParentHandle, interposeResource, otsStatus, removeChild, setParentHandle, tidyup, valid
-
Field Details
-
_theResource
-
_resourceRef
-
-
Constructor Details
-
ServerNestedAction
Create local transactions with same ids as remote. -
ServerNestedAction
protected ServerNestedAction()
-
-
Method Details
-
commit_subtransaction
- Specified by:
commit_subtransaction
in interfaceSubtransactionAwareResourceOperations
- Throws:
org.omg.CORBA.SystemException
-
rollback_subtransaction
public void rollback_subtransaction() throws org.omg.CORBA.SystemException- Specified by:
rollback_subtransaction
in interfaceSubtransactionAwareResourceOperations
- Throws:
org.omg.CORBA.SystemException
-
prepare
- Specified by:
prepare
in interfaceResourceOperations
- Throws:
org.omg.CORBA.SystemException
HeuristicMixed
HeuristicHazard
-
rollback
public void rollback() throws org.omg.CORBA.SystemException, HeuristicCommit, HeuristicMixed, HeuristicHazard- Specified by:
rollback
in interfaceResourceOperations
- Throws:
org.omg.CORBA.SystemException
HeuristicCommit
HeuristicMixed
HeuristicHazard
-
commit
public void commit() throws org.omg.CORBA.SystemException, NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard- Specified by:
commit
in interfaceResourceOperations
- Throws:
org.omg.CORBA.SystemException
NotPrepared
HeuristicRollback
HeuristicMixed
HeuristicHazard
-
forget
public void forget() throws org.omg.CORBA.SystemException- Specified by:
forget
in interfaceResourceOperations
- Throws:
org.omg.CORBA.SystemException
-
commit_one_phase
- Specified by:
commit_one_phase
in interfaceResourceOperations
- Throws:
HeuristicHazard
org.omg.CORBA.SystemException
-
theResource
-
destroyResource
protected final void destroyResource() -
registerSubTran
-