Package org.jboss.iiop.tm
Interface InboundTransactionCurrent
- All Superinterfaces:
Current,CurrentOperations,IDLEntity,Object,Serializable
- All Known Implementing Classes:
InboundTransactionCurrentImple
Interface 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 call
orbInitInfo.register_initial_reference within the
pre_init method of an
org.omg.PortableInterceptor.ORBInitializer,
which will probably be also the initializer that registers a server request
interceptor for the OTS provider.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjakarta.transaction.TransactionGets the Transaction instance associated with the current incoming request.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
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
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.
-