XidFactory (Transactions JTA 4.0.6 API)
Date: 2018-01-11

com.atomikos.datasource.xa

## Interface XidFactory

-     public interface XidFactory

  A factory for creating new Xid instances. This allows different factories for different resources, which is needed because some resources need a custom Xid format.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XID` | `createXid(java.lang.String tid, java.lang.String resourcename)` Creates a new Xid instance for a given composite transaction id and resource name.

- - ### Method Detail

    - #### createXid

          XID createXid(java.lang.String tid,
                      java.lang.String resourcename)

      Creates a new Xid instance for a given composite transaction id and resource name.
      Parameters:
        `tid` - The unique ID of the composite transaction.
        `resourcename` - The unique resource name.
      Returns:
        Xid The Xid instance.

Copyright © 2018. All Rights Reserved.