public class ControlImpl extends JControlPOA implements org.omg.CosTransactions.Control
| Modifier and Type | Field and Description |
|---|---|
protected int |
association |
protected org.omg.CosTransactions.PropagationContext |
cachedContext |
protected com.sun.jts.CosTransactions.CoordinatorImpl |
coord |
protected org.omg.CosTransactions.Coordinator |
coordRef |
protected GlobalTID |
globalTID |
protected boolean |
inSuspended |
protected Long |
localTID |
protected int |
outgoing |
protected boolean |
representsRemote |
protected ControlImpl |
stacked |
protected boolean |
temporary |
protected com.sun.jts.CosTransactions.TerminatorImpl |
term |
protected org.omg.CosTransactions.Terminator |
termRef |
protected org.omg.CosTransactions.Status |
tranState |
| Modifier and Type | Method and Description |
|---|---|
Request |
_create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result) |
Request |
_create_request(Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exceptions,
ContextList contexts) |
Object |
_duplicate() |
DomainManager[] |
_get_domain_managers() |
Object |
_get_interface_def() |
Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_a(String repository_id) |
boolean |
_is_equivalent(Object that) |
boolean |
_non_existent() |
void |
_release() |
Request |
_request(String operation) |
Object |
_set_policy_override(Policy[] policies,
SetOverrideType set_add) |
void |
doFinalize()
Cleans up the state of the object.
|
boolean |
equals(Object o)
Added to prevent null delegate problem.
|
org.omg.CosTransactions.Coordinator |
get_coordinator()
Returns the Coordinator for the transaction.
|
org.omg.CosTransactions.Coordinator |
get_localCoordinator()
Returns the Coordinator for the transaction.
|
org.omg.CosTransactions.Terminator |
get_localTerminator() |
org.omg.CosTransactions.Terminator |
get_terminator()
Returns the Terminator object for the transaction.
|
GlobalTID |
getGlobalTID()
Returns the identifier that globally represents the transaction
|
org.omg.CosTransactions.otid_t |
getGlobalTID(org.omg.CosTransactions.StatusHolder status)
Returns the identifier that globally represents the transaction, and a
value that indicates the state of the transaction.
|
long |
getLocalTID(org.omg.CosTransactions.StatusHolder status)
Returns the identifier that locally represents the transaction, and a value
that indicates the state of the transaction.
|
org.omg.CosTransactions.Status |
getTranState()
Returns the state of the transaction as the Control object knows it.
|
int |
hashCode()
Added because this class overrides equals() method.
|
static ControlImpl |
servant(JControl control)
Returns the ControlImpl which serves the given object.
|
void |
setTranState(org.omg.CosTransactions.Status newState)
Sets the state of the transaction as the Control object knows it.
|
_all_interfaces, _invoke, _this, _this_default_POA, _get_delegate, _object_id, _orb, _poa, _set_delegate, _this_object, _this_objectprotected boolean temporary
protected boolean inSuspended
protected org.omg.CosTransactions.Status tranState
protected com.sun.jts.CosTransactions.CoordinatorImpl coord
protected org.omg.CosTransactions.Coordinator coordRef
protected com.sun.jts.CosTransactions.TerminatorImpl term
protected org.omg.CosTransactions.Terminator termRef
protected ControlImpl stacked
protected GlobalTID globalTID
protected Long localTID
protected boolean representsRemote
protected org.omg.CosTransactions.PropagationContext cachedContext
protected int outgoing
protected int association
public void doFinalize()
public GlobalTID getGlobalTID()
public org.omg.CosTransactions.otid_t getGlobalTID(org.omg.CosTransactions.StatusHolder status)
throws SystemException
getGlobalTID in interface JControlOperationsstatus - An object to hold the status value, or null.SystemException - An error occurred. The minor code indicates
the reason for the exception.public long getLocalTID(org.omg.CosTransactions.StatusHolder status)
throws SystemException
If the transaction represented by the Control object has been completed, the identifier is still returned if possible.
getLocalTID in interface JControlOperationsstatus - An object to hold the status value, or null.SystemException - An error occurred. The minor code indicates
the reason for the exception.public org.omg.CosTransactions.Terminator get_terminator()
throws org.omg.CosTransactions.Unavailable,
SystemException
get_terminator in interface org.omg.CosTransactions.ControlOperationsorg.omg.CosTransactions.Unavailable - The Terminator object is not available.SystemException - The operation failed.public org.omg.CosTransactions.Terminator get_localTerminator()
throws org.omg.CosTransactions.Unavailable,
SystemException
org.omg.CosTransactions.UnavailableSystemExceptionpublic org.omg.CosTransactions.Coordinator get_coordinator()
throws org.omg.CosTransactions.Unavailable,
SystemException
get_coordinator in interface org.omg.CosTransactions.ControlOperationsorg.omg.CosTransactions.Unavailable - The Coordinator is not available.SystemException - The operation failed.public org.omg.CosTransactions.Coordinator get_localCoordinator()
throws org.omg.CosTransactions.Unavailable,
SystemException
org.omg.CosTransactions.Unavailable - The Coordinator is not available.SystemException - The operation failed.public org.omg.CosTransactions.Status getTranState()
getTranState in interface JControlOperationspublic void setTranState(org.omg.CosTransactions.Status newState)
setTranState in interface JControlOperationsint - The new state.public static final ControlImpl servant(JControl control)
The - CORBA Object.public boolean equals(Object o)
public int hashCode()
public Object _duplicate()
_duplicate in interface Objectpublic boolean _is_a(String repository_id)
public boolean _is_equivalent(Object that)
_is_equivalent in interface Objectpublic boolean _non_existent()
_non_existent in interface Object_non_existent in class Servantpublic Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
_create_request in interface Objectpublic Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)
_create_request in interface Objectpublic Object _get_interface_def()
_get_interface_def in interface Object_get_interface_def in class Servantpublic Policy _get_policy(int policy_type)
_get_policy in interface Objectpublic DomainManager[] _get_domain_managers()
_get_domain_managers in interface Objectpublic Object _set_policy_override(Policy[] policies, SetOverrideType set_add)
_set_policy_override in interface ObjectCopyright © 2017. All rights reserved.