Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.datasource.xa
Class AbstractXidFactory

    java.lang.Object
      com.atomikos.datasource.xa.AbstractXidFactory

All Implemented Interfaces:
  XidFactory

Direct Known Subclasses:
  DefaultXidFactory

    public abstract class AbstractXidFactory

extends Object
implements XidFactory

An abstract superclass for all XidFactory implementations. This class provides the functionality to create really unique XIDs.

Constructor Summary
`AbstractXidFactory()`

Method Summary
`Xid` | `createXid(String tid, String resourcename)` Creates a new Xid instance for a given composite transaction id and resource name.
`protected static long` | `getCounter()`
`protected static void` | `incCounter()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractXidFactory

    public AbstractXidFactory()

Method Detail

### incCounter

    protected static void incCounter()

### getCounter

    protected static long getCounter()

### createXid

    public Xid createXid(String tid,
                         String resourcename)

  Description copied from interface: `XidFactory`
  Creates a new Xid instance for a given composite transaction id and resource name.

  Specified by:
    `createXid` in interface `XidFactory`
  Parameters:
    `tid` - The unique ID of the composite transaction.
    `resourcename` - The unique resource name.
  Returns:
    Xid The Xid instance.
  See Also:
    `XidFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.