tyrex.tm.impl
Class CoordinatorImpl
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
org.omg.CosTransactions._CoordinatorImplBase
tyrex.tm.impl.CoordinatorImpl
- All Implemented Interfaces:
- org.omg.CosTransactions.Coordinator, org.omg.CosTransactions.CoordinatorOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, org.omg.CORBA.Object, java.io.Serializable
- final class CoordinatorImpl
- extends org.omg.CosTransactions._CoordinatorImplBase
- implements org.omg.CosTransactions.Coordinator
Implements a Coordinator
interface into a transaction.
- Version:
- $Revision: 1.3 $ $Date: 2001/03/17 03:34:54 $
- Author:
- Assaf Arkin
Fields inherited from class org.omg.CosTransactions._CoordinatorImplBase |
|
Methods inherited from class org.omg.CosTransactions._CoordinatorImplBase |
_ids, _invoke |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
CoordinatorImpl
CoordinatorImpl(ControlImpl control)
get_parent_status
public org.omg.CosTransactions.Status get_parent_status()
- Specified by:
get_parent_status
in interface org.omg.CosTransactions.CoordinatorOperations
get_status
public org.omg.CosTransactions.Status get_status()
- Specified by:
get_status
in interface org.omg.CosTransactions.CoordinatorOperations
get_top_level_status
public org.omg.CosTransactions.Status get_top_level_status()
- Specified by:
get_top_level_status
in interface org.omg.CosTransactions.CoordinatorOperations
is_top_level_transaction
public boolean is_top_level_transaction()
- Specified by:
is_top_level_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
is_same_transaction
public boolean is_same_transaction(org.omg.CosTransactions.Coordinator coord)
- Specified by:
is_same_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
is_related_transaction
public boolean is_related_transaction(org.omg.CosTransactions.Coordinator coord)
- Specified by:
is_related_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
is_ancestor_transaction
public boolean is_ancestor_transaction(org.omg.CosTransactions.Coordinator coord)
- Specified by:
is_ancestor_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
is_descendant_transaction
public boolean is_descendant_transaction(org.omg.CosTransactions.Coordinator coord)
- Specified by:
is_descendant_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
is_top_level_transaction
public boolean is_top_level_transaction(org.omg.CosTransactions.Coordinator coord)
hash_transaction
public int hash_transaction()
- Specified by:
hash_transaction
in interface org.omg.CosTransactions.CoordinatorOperations
hash_top_level_tran
public int hash_top_level_tran()
- Specified by:
hash_top_level_tran
in interface org.omg.CosTransactions.CoordinatorOperations
register_resource
public org.omg.CosTransactions.RecoveryCoordinator register_resource(org.omg.CosTransactions.Resource resource)
throws org.omg.CosTransactions.Inactive
- Specified by:
register_resource
in interface org.omg.CosTransactions.CoordinatorOperations
- Throws:
org.omg.CosTransactions.Inactive
register_subtran_aware
public void register_subtran_aware(org.omg.CosTransactions.SubtransactionAwareResource resource)
throws org.omg.CosTransactions.Inactive,
org.omg.CosTransactions.NotSubtransaction
- Specified by:
register_subtran_aware
in interface org.omg.CosTransactions.CoordinatorOperations
- Throws:
org.omg.CosTransactions.Inactive
org.omg.CosTransactions.NotSubtransaction
register_synchronization
public void register_synchronization(org.omg.CosTransactions.Synchronization sync)
throws org.omg.CosTransactions.Inactive,
org.omg.CosTransactions.SynchronizationUnavailable
- Specified by:
register_synchronization
in interface org.omg.CosTransactions.CoordinatorOperations
- Throws:
org.omg.CosTransactions.Inactive
org.omg.CosTransactions.SynchronizationUnavailable
rollback_only
public void rollback_only()
throws org.omg.CosTransactions.Inactive
- Specified by:
rollback_only
in interface org.omg.CosTransactions.CoordinatorOperations
- Throws:
org.omg.CosTransactions.Inactive
get_transaction_name
public java.lang.String get_transaction_name()
- Specified by:
get_transaction_name
in interface org.omg.CosTransactions.CoordinatorOperations
create_subtransaction
public org.omg.CosTransactions.Control create_subtransaction()
throws org.omg.CosTransactions.SubtransactionsUnavailable,
org.omg.CosTransactions.Inactive
- Specified by:
create_subtransaction
in interface org.omg.CosTransactions.CoordinatorOperations
- Throws:
org.omg.CosTransactions.SubtransactionsUnavailable
org.omg.CosTransactions.Inactive
get_txcontext
public org.omg.CosTransactions.PropagationContext get_txcontext()
- Specified by:
get_txcontext
in interface org.omg.CosTransactions.CoordinatorOperations
replay_completion
public org.omg.CosTransactions.Status replay_completion(org.omg.CosTransactions.Resource resource)
fromJTAStatus
static org.omg.CosTransactions.Status fromJTAStatus(int status)
- Convert JTA transaction statuc code into OTS transaction code.
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.