Package org.jboss.iiop.tm
Interface InboundTransactionCurrent
-
- All Superinterfaces:
org.omg.CORBA.Current,org.omg.CORBA.CurrentOperations,org.omg.CORBA.portable.IDLEntity,org.omg.CORBA.Object,Serializable
- All Known Implementing Classes:
InboundTransactionCurrentImpl
public interface InboundTransactionCurrent extends org.omg.CORBA.CurrentInterface to be implemented by a CORBA OTS provider for integration with JBossAS. The CORBA OTS provider must (i) create an object that implements this interface and (ii) register an initial reference for that object with the JBossAS ORB, under name "InboundTransactionCurrent". Step (ii) above should be done by a callorbInitInfo.register_initial_referencewithin thepre_initmethod of anorg.omg.PortableInterceptor.ORBInitializer, which will probably be also the initializer that registers a server request interceptor for the OTS provider.- Version:
- $Revision$
- Author:
- Francisco Reverbel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.transaction.TransactiongetCurrentTransaction()Gets the Transaction instance associated with the current incoming request.
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentTransaction
jakarta.transaction.Transaction getCurrentTransaction()
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.- 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.
-
-