Class InboundTransactionCurrentImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.transaction.Transaction getCurrentTransaction()
      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 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 Detail

      • InboundTransactionCurrentImpl

        public InboundTransactionCurrentImpl()
    • Method Detail

      • 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.