Package org.omg.CosTransactions
Class ResourcePOATie
- java.lang.Object
-
- org.omg.PortableServer.Servant
-
- org.omg.CosTransactions.ResourcePOA
-
- org.omg.CosTransactions.ResourcePOATie
-
- All Implemented Interfaces:
InvokeHandler
,ResourceOperations
public class ResourcePOATie extends ResourcePOA
org/omg/CosTransactions/ResourcePOATie.java . Generated by the IDL-to-Java compiler (portable), version "4.1" from /home/abuild/rpmbuild/BUILD/glassfish-corba-4.2.4/omgapi/src/main/idl/CosTransactions.idl Wednesday, February 21, 2024 at 12:00:00 PM Greenwich Mean Time
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceOperations
_impl
private POA
_poa
-
Constructor Summary
Constructors Constructor Description ResourcePOATie(ResourceOperations delegate)
ResourcePOATie(ResourceOperations delegate, POA poa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description POA
_default_POA()
Returns the root POA from the ORB instance associated with the servant.ResourceOperations
_delegate()
void
_delegate(ResourceOperations delegate)
void
commit()
void
commit_one_phase()
void
forget()
Vote
prepare()
void
rollback()
-
Methods inherited from class org.omg.CosTransactions.ResourcePOA
_all_interfaces, _invoke, _this, _this
-
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
-
-
-
-
Field Detail
-
_impl
private ResourceOperations _impl
-
_poa
private POA _poa
-
-
Constructor Detail
-
ResourcePOATie
public ResourcePOATie(ResourceOperations delegate)
-
ResourcePOATie
public ResourcePOATie(ResourceOperations delegate, POA poa)
-
-
Method Detail
-
_delegate
public ResourceOperations _delegate()
-
_delegate
public void _delegate(ResourceOperations delegate)
-
_default_POA
public POA _default_POA()
Description copied from class:Servant
Returns the root POA from the ORB instance associated with the servant. Subclasses may override this method to return a different POA.- Overrides:
_default_POA
in classServant
- Returns:
default_POA
the POA associated with theServant
.
-
prepare
public Vote prepare() throws HeuristicMixed, HeuristicHazard
- Throws:
HeuristicMixed
HeuristicHazard
-
rollback
public void rollback() throws HeuristicCommit, HeuristicMixed, HeuristicHazard
-
commit
public void commit() throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
-
commit_one_phase
public void commit_one_phase() throws HeuristicHazard
- Throws:
HeuristicHazard
-
forget
public void forget()
-
-