com.atomikos.datasource.xa
Interface XidFactory

All Known Implementing Classes:
AbstractXidFactory, DefaultXidFactory

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 © 2011. All Rights Reserved.