Class InboundTransactionCurrentImple

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

public class InboundTransactionCurrentImple extends 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:
  • Constructor Details

    • InboundTransactionCurrentImple

      public InboundTransactionCurrentImple()
  • Method Details

    • getCurrentTransaction

      public jakarta.transaction.Transaction getCurrentTransaction()
      Description copied from interface: 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.