Methods Summary |
---|
public java.lang.String[] | _ids()
return (String[])__ids.clone ();
|
public org.omg.CosTransactions.Control | create_subtransaction()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_subtransaction", true);
$in = _invoke ($out);
org.omg.CosTransactions.Control $result = org.omg.CosTransactions.ControlHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/SubtransactionsUnavailable:1.0"))
throw org.omg.CosTransactions.SubtransactionsUnavailableHelper.read ($in);
else if (_id.equals ("IDL:omg.org/CosTransactions/Inactive:1.0"))
throw org.omg.CosTransactions.InactiveHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return create_subtransaction ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.TransIdentity[] | getAncestors()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getAncestors", true);
$in = _invoke ($out);
org.omg.CosTransactions.TransIdentity $result[] = com.sun.jts.otsidl.TransAncestryHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getAncestors ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.otid_t | getGlobalTID()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getGlobalTID", true);
$in = _invoke ($out);
org.omg.CosTransactions.otid_t $result = org.omg.CosTransactions.otid_tHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getGlobalTID ();
} finally {
_releaseReply ($in);
}
|
public long | getLocalTID()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("getLocalTID", true);
$in = _invoke ($out);
long $result = $in.read_longlong ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return getLocalTID ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.Status | get_parent_status()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_parent_status", true);
$in = _invoke ($out);
org.omg.CosTransactions.Status $result = org.omg.CosTransactions.StatusHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_parent_status ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.Status | get_status()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_status", true);
$in = _invoke ($out);
org.omg.CosTransactions.Status $result = org.omg.CosTransactions.StatusHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_status ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.Status | get_top_level_status()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_top_level_status", true);
$in = _invoke ($out);
org.omg.CosTransactions.Status $result = org.omg.CosTransactions.StatusHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_top_level_status ();
} finally {
_releaseReply ($in);
}
|
public java.lang.String | get_transaction_name()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_transaction_name", true);
$in = _invoke ($out);
String $result = $in.read_string ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_transaction_name ();
} finally {
_releaseReply ($in);
}
|
public org.omg.CosTransactions.PropagationContext | get_txcontext()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_txcontext", true);
$in = _invoke ($out);
org.omg.CosTransactions.PropagationContext $result = org.omg.CosTransactions.PropagationContextHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/Unavailable:1.0"))
throw org.omg.CosTransactions.UnavailableHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_txcontext ();
} finally {
_releaseReply ($in);
}
|
public int | hash_top_level_tran()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("hash_top_level_tran", true);
$in = _invoke ($out);
int $result = $in.read_ulong ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return hash_top_level_tran ();
} finally {
_releaseReply ($in);
}
|
public int | hash_transaction()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("hash_transaction", true);
$in = _invoke ($out);
int $result = $in.read_ulong ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return hash_transaction ();
} finally {
_releaseReply ($in);
}
|
public boolean | isRollbackOnly()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("isRollbackOnly", true);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return isRollbackOnly ();
} finally {
_releaseReply ($in);
}
|
public boolean | is_ancestor_transaction(org.omg.CosTransactions.Coordinator tc)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_ancestor_transaction", true);
org.omg.CosTransactions.CoordinatorHelper.write ($out, tc);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_ancestor_transaction (tc);
} finally {
_releaseReply ($in);
}
|
public boolean | is_descendant_transaction(org.omg.CosTransactions.Coordinator tc)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_descendant_transaction", true);
org.omg.CosTransactions.CoordinatorHelper.write ($out, tc);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_descendant_transaction (tc);
} finally {
_releaseReply ($in);
}
|
public boolean | is_related_transaction(org.omg.CosTransactions.Coordinator tc)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_related_transaction", true);
org.omg.CosTransactions.CoordinatorHelper.write ($out, tc);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_related_transaction (tc);
} finally {
_releaseReply ($in);
}
|
public boolean | is_same_transaction(org.omg.CosTransactions.Coordinator tc)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_same_transaction", true);
org.omg.CosTransactions.CoordinatorHelper.write ($out, tc);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_same_transaction (tc);
} finally {
_releaseReply ($in);
}
|
public boolean | is_top_level_transaction()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("is_top_level_transaction", true);
$in = _invoke ($out);
boolean $result = $in.read_boolean ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return is_top_level_transaction ();
} finally {
_releaseReply ($in);
}
|
private void | readObject(java.io.ObjectInputStream s)
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
|
public org.omg.CosTransactions.RecoveryCoordinator | register_resource(org.omg.CosTransactions.Resource r)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("register_resource", true);
org.omg.CosTransactions.ResourceHelper.write ($out, r);
$in = _invoke ($out);
org.omg.CosTransactions.RecoveryCoordinator $result = org.omg.CosTransactions.RecoveryCoordinatorHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/Inactive:1.0"))
throw org.omg.CosTransactions.InactiveHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return register_resource (r);
} finally {
_releaseReply ($in);
}
|
public void | register_subtran_aware(org.omg.CosTransactions.SubtransactionAwareResource r)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("register_subtran_aware", true);
org.omg.CosTransactions.SubtransactionAwareResourceHelper.write ($out, r);
$in = _invoke ($out);
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/Inactive:1.0"))
throw org.omg.CosTransactions.InactiveHelper.read ($in);
else if (_id.equals ("IDL:omg.org/CosTransactions/NotSubtransaction:1.0"))
throw org.omg.CosTransactions.NotSubtransactionHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
register_subtran_aware (r);
} finally {
_releaseReply ($in);
}
|
public void | register_synchronization(org.omg.CosTransactions.Synchronization sync)
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("register_synchronization", true);
org.omg.CosTransactions.SynchronizationHelper.write ($out, sync);
$in = _invoke ($out);
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/Inactive:1.0"))
throw org.omg.CosTransactions.InactiveHelper.read ($in);
else if (_id.equals ("IDL:omg.org/CosTransactions/SynchronizationUnavailable:1.0"))
throw org.omg.CosTransactions.SynchronizationUnavailableHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
register_synchronization (sync);
} finally {
_releaseReply ($in);
}
|
public void | rollback_only()
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("rollback_only", true);
$in = _invoke ($out);
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/CosTransactions/Inactive:1.0"))
throw org.omg.CosTransactions.InactiveHelper.read ($in);
else
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
rollback_only ();
} finally {
_releaseReply ($in);
}
|
private void | writeObject(java.io.ObjectOutputStream s)
String[] args = null;
java.util.Properties props = null;
String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
s.writeUTF (str);
|