DEPRECATED Use `com.bea.p13n.util.jdbc.SequencerFactory```

# com.beasys.commerce.util
SequencerFactory Class

public class SequencerFactory
extends `Object`

This class implements the Singleton design pattern for obtaining database sequencers. A single instance of a Sequencer exists for a given sequence name.

Hierarchy
  `Object`
  `SequencerFactory`

## Constructor Summary

SequencerFactory()

## Method Summary

`public static `Sequencer`` | `createSequencer`(`String` sequenceName) Returns the singleton sequencer for the given sequence name.

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

## Constructor Detail

### SequencerFactory

    public SequencerFactory()

## Method Detail

### createSequencer(String) Method

    public static Sequencer createSequencer(String sequenceName)

Returns the singleton sequencer for the given sequence name. The method uses the design pattern that reduces contention and synchronization overhead.

#### Parameters

sequenceName
  database sequence name

#### Returns

singleton Sequencer