类 WebSphereLibertyJtaPlatform

    • 构造器详细资料

      • WebSphereLibertyJtaPlatform

        public WebSphereLibertyJtaPlatform()
    • 方法详细资料

      • getCurrentStatus

        public int getCurrentStatus()
                             throws javax.transaction.SystemException
        从接口复制的说明: JtaPlatform
        Obtain the current transaction status using whatever means is preferred for this platform
        指定者:
        getCurrentStatus 在接口中 JtaPlatform
        覆盖:
        getCurrentStatus 在类中 AbstractJtaPlatform
        返回:
        The current status.
        抛出:
        javax.transaction.SystemException - Indicates a problem access the underlying status
      • getTransactionIdentifier

        public Object getTransactionIdentifier​(javax.transaction.Transaction transaction)
        从接口复制的说明: JtaPlatform
        Determine an identifier for the given transaction appropriate for use in caching/lookup usages.

        Generally speaking the transaction itself will be returned here. This method was added specifically for use in WebSphere and other unfriendly Java EE containers.

        指定者:
        getTransactionIdentifier 在接口中 JtaPlatform
        覆盖:
        getTransactionIdentifier 在类中 AbstractJtaPlatform
        参数:
        transaction - The transaction to be identified.
        返回:
        An appropriate identifier