org.jboss.tm.iiop
Class TransactionServiceImpl

java.lang.Object
  extended byTransactionServicePOA
      extended byorg.jboss.tm.iiop.TransactionServiceImpl

public class TransactionServiceImpl
extends TransactionServicePOA

CORBA servant for the JBoss TransactionService.

See Also:
Serialized Form

Method Summary
 java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] oid)
           
 void commit(boolean reportHeuristics)
           
 Control create_subtransaction()
           
 TransactionDesc create_transaction(int timeout)
           
 Control create(int timeout)
           
 Coordinator get_coordinator()
           
 Status get_parent_status()
           
 Status get_status()
           
 java.lang.Terminator get_terminator()
           
 Status get_top_level_status()
           
 TransactionId get_transaction_id()
           
 java.lang.String get_transaction_name()
           
 PropagationContext get_txcontext()
           
protected static TransactionPropagationContextImporter (src) getTPCImporter()
          Get a reference to the transaction importer.
protected static TransactionManager (src) getTransactionManager()
          Get a reference to the transaction manager.
 int hash_top_level_tran()
           
 int hash_transaction()
           
 boolean is_ancestor_transaction(Coordinator other)
           
 boolean is_descendant_transaction(Coordinator other)
           
 boolean is_related_transaction(Coordinator other)
           
 boolean is_same_transaction(Coordinator other)
           
 boolean is_top_level_transaction()
           
 Control recreate(PropagationContext pc)
           
 RecoveryCoordinator register_resource(Resource r)
           
 void register_subtran_aware(SubtransactionAwareResource r)
           
 void register_synchronization(Synchronization sync)
           
 void rollback_only()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

_all_interfaces

public java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa,
                                          byte[] oid)

create_transaction

public TransactionDesc create_transaction(int timeout)

create

public Control create(int timeout)

recreate

public Control recreate(PropagationContext pc)

get_terminator

public java.lang.Terminator get_terminator()
                                    throws Unavailable
Throws:
Unavailable

get_coordinator

public Coordinator get_coordinator()
                            throws Unavailable
Throws:
Unavailable

commit

public void commit(boolean reportHeuristics)
            throws HeuristicHazard,
                   HeuristicMixed
Throws:
HeuristicHazard
HeuristicMixed

rollback

public void rollback()

get_transaction_id

public TransactionId get_transaction_id()

get_status

public Status get_status()

get_parent_status

public Status get_parent_status()

get_top_level_status

public Status get_top_level_status()

is_same_transaction

public boolean is_same_transaction(Coordinator other)

is_ancestor_transaction

public boolean is_ancestor_transaction(Coordinator other)

is_descendant_transaction

public boolean is_descendant_transaction(Coordinator other)

is_related_transaction

public boolean is_related_transaction(Coordinator other)

is_top_level_transaction

public boolean is_top_level_transaction()

hash_transaction

public int hash_transaction()

hash_top_level_tran

public int hash_top_level_tran()

register_resource

public RecoveryCoordinator register_resource(Resource r)
                                      throws Inactive
Throws:
Inactive

register_synchronization

public void register_synchronization(Synchronization sync)
                              throws SynchronizationUnavailable,
                                     Inactive
Throws:
SynchronizationUnavailable
Inactive

register_subtran_aware

public void register_subtran_aware(SubtransactionAwareResource r)
                            throws NotSubtransaction,
                                   Inactive
Throws:
NotSubtransaction
Inactive

rollback_only

public void rollback_only()
                   throws Inactive
Throws:
Inactive

get_transaction_name

public java.lang.String get_transaction_name()

create_subtransaction

public Control create_subtransaction()
                              throws SubtransactionsUnavailable,
                                     Inactive
Throws:
SubtransactionsUnavailable
Inactive

get_txcontext

public PropagationContext get_txcontext()
                                 throws Unavailable
Throws:
Unavailable

getTransactionManager

protected static TransactionManager (src)  getTransactionManager()
Get a reference to the transaction manager.


getTPCImporter

protected static TransactionPropagationContextImporter (src)  getTPCImporter()
Get a reference to the transaction importer.