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:
InboundTransactionCurrent,InboundTransactionCurrentInitializer, Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.jboss.iiop.tm.InboundTransactionCurrent
NAME
-
-
Constructor Summary
Constructors Constructor Description InboundTransactionCurrentImple()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.transaction.TransactiongetCurrentTransaction()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
-
-
-
-
Method Detail
-
getCurrentTransaction
public jakarta.transaction.Transaction getCurrentTransaction()
Description copied from interface:InboundTransactionCurrentGets 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:
getCurrentTransactionin interfaceInboundTransactionCurrent- 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.
-
-