com.beasys.commerce.util
Class SequencerFactory
java.lang.Object
com.beasys.commerce.util.SequencerFactory
Deprecated. Use SequencerFactory
- 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequencerFactory
public SequencerFactory()
- Deprecated.
createSequencer
public static Sequencer createSequencer(String sequenceName)
- Deprecated.
- 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
Copyright © 2005 BEA Systems, Inc. All Rights Reserved