tyrex.tm.impl
Class TransactionFactoryImpl

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CosTransactions._TransactionFactoryImplBase
          extended bytyrex.tm.impl.TransactionFactoryImpl
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, org.omg.CORBA.Object, org.omg.CosTSPortability.Receiver, org.omg.CosTSPortability.Sender, java.io.Serializable, org.omg.CosTransactions.TransactionFactory, org.omg.CosTransactions.TransactionFactoryOperations

public final class TransactionFactoryImpl
extends org.omg.CosTransactions._TransactionFactoryImplBase
implements org.omg.CosTSPortability.Sender, org.omg.CosTSPortability.Receiver

Implements an OTS transaction factory and identification interfaces. Allows the creation of new OTS transactions as well as the importing of remote transactions.

Version:
$Revision: 1.11 $ $Date: 2001/09/28 18:35:19 $
Author:
Assaf Arkin
See Also:
Changes J. Daniel : Changed code to be compliant with CORBA developing rules., Serialized Form

Field Summary
 
Fields inherited from class org.omg.CosTransactions._TransactionFactoryImplBase
 
Constructor Summary
(package private) TransactionFactoryImpl(TransactionDomainImpl txDomain)
           
 
Method Summary
static void associate(java.lang.String ior)
           
 org.omg.CosTransactions.Control create(int timeout)
           
 void received_reply(int refId, org.omg.CosTransactions.PropagationContext pgContext, org.omg.CORBA.Environment env)
           
 void received_request(int refId, org.omg.CosTransactions.PropagationContext pgContext)
           
 org.omg.CosTransactions.Control recreate(org.omg.CosTransactions.PropagationContext pgContext)
           
 void sending_reply(int refId, org.omg.CosTransactions.PropagationContextHolder pgxh)
           
 void sending_request(int refId, org.omg.CosTransactions.PropagationContextHolder pgxh)
           
 
Methods inherited from class org.omg.CosTransactions._TransactionFactoryImplBase
_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
 

Constructor Detail

TransactionFactoryImpl

TransactionFactoryImpl(TransactionDomainImpl txDomain)
Method Detail

associate

public static void associate(java.lang.String ior)
                      throws javax.transaction.InvalidTransactionException,
                             javax.transaction.SystemException
Throws:
javax.transaction.InvalidTransactionException
javax.transaction.SystemException

create

public org.omg.CosTransactions.Control create(int timeout)
Specified by:
create in interface org.omg.CosTransactions.TransactionFactoryOperations

recreate

public org.omg.CosTransactions.Control recreate(org.omg.CosTransactions.PropagationContext pgContext)
Specified by:
recreate in interface org.omg.CosTransactions.TransactionFactoryOperations

sending_request

public void sending_request(int refId,
                            org.omg.CosTransactions.PropagationContextHolder pgxh)
Specified by:
sending_request in interface org.omg.CosTSPortability.Sender

received_request

public void received_request(int refId,
                             org.omg.CosTransactions.PropagationContext pgContext)
Specified by:
received_request in interface org.omg.CosTSPortability.Receiver

sending_reply

public void sending_reply(int refId,
                          org.omg.CosTransactions.PropagationContextHolder pgxh)
Specified by:
sending_reply in interface org.omg.CosTSPortability.Receiver

received_reply

public void received_reply(int refId,
                           org.omg.CosTransactions.PropagationContext pgContext,
                           org.omg.CORBA.Environment env)
                    throws org.omg.CORBA.WrongTransaction
Specified by:
received_reply in interface org.omg.CosTSPortability.Sender
Throws:
org.omg.CORBA.WrongTransaction


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.