com.beasys.commerce.util
Class SequencerFactory

java.lang.Object
  extended by com.beasys.commerce.util.SequencerFactory

Deprecated Use SequencerFactory

@Deprecated
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.


Constructor Summary
SequencerFactory()
          Deprecated See BEA Commerce product offering
 
Method Summary
static Sequencer createSequencer(String sequenceName)
          Deprecated See BEA Commerce product offering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencerFactory

public SequencerFactory()
Deprecated See BEA Commerce product offering

Method Detail

createSequencer

public static Sequencer createSequencer(String sequenceName)
Deprecated See BEA Commerce product offering

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 © 2008 BEA Systems, Inc. All Rights Reserved