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
 XID createXid(String tid, String resourcename)
          Creates a new Xid instance for a given composite transaction id and resource name.
 

Method Detail

createXid

XID createXid(String tid,
              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 © 2016. All Rights Reserved.