Class InboundTransactionCurrentImple

java.lang.Object
org.omg.CORBA.LocalObject
com.arjuna.ats.internal.jbossatx.jts.InboundTransactionCurrentImple
All Implemented Interfaces:
Serializable, InboundTransactionCurrent, org.omg.CORBA.Current, org.omg.CORBA.CurrentOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity

public class InboundTransactionCurrentImple extends org.omg.CORBA.LocalObject implements InboundTransactionCurrent
Implementation of the InboundTransactionCurrent interface of the app server's transaction integration SPI. Provides a way for app server code to obtain the transaction that was on an inbound CORBA call. The context processing on the wire is handled by the JTS's RequestInterceptors, here we just provide a way to expose that context to the app server.
Version:
$Id$
Author:
jonathan.halliday@redhat.com
See Also:
  • Field Summary

    Fields inherited from interface org.jboss.iiop.tm.InboundTransactionCurrent

    NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.transaction.Transaction
    Gets the Transaction instance associated with the current incoming request.

    Methods inherited from class org.omg.CORBA.LocalObject

    _create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _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_policy_override, validate_connection

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 Details

    • InboundTransactionCurrentImple

      public InboundTransactionCurrentImple()
  • Method Details

    • getCurrentTransaction

      public jakarta.transaction.Transaction getCurrentTransaction()
      Description copied from interface: org.jboss.iiop.tm.InboundTransactionCurrent
      Gets the Transaction instance associated with the current incoming request. This method should be called only by code that handles incoming requests; its return value is undefined in the case of a call issued outside of a request scope.
      Specified by:
      getCurrentTransaction in interface InboundTransactionCurrent
      Returns:
      the jakarta.transaction.Transaction instance associated with the current incoming request, or null if that request was not issued within the scope of some transaction.