Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.uidgen.ejb
Class UIDSequencerManagerBean

java.lang.Object
  extended by org.nuxeo.ecm.platform.uidgen.ejb.UIDSequencerManagerBean
All Implemented Interfaces:
UIDSequencerManager, UIDSequencerManagerLocal, UIDSequencer

public class UIDSequencerManagerBean
extends java.lang.Object
implements UIDSequencerManagerLocal

The UID sequence manager implementation as a stateless session bean.

Author:
Dragos Mihalache, Bogdan Stefanescu

Constructor Summary
UIDSequencerManagerBean()
           
 
Method Summary
 int getNext(java.lang.String key)
          Handle transaction synchronizing on a static field so that two calls to this method will give a distinct index (see NXP-2157)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDSequencerManagerBean

public UIDSequencerManagerBean()
Method Detail

getNext

public int getNext(java.lang.String key)
Handle transaction synchronizing on a static field so that two calls to this method will give a distinct index (see NXP-2157)

Specified by:
getNext in interface UIDSequencer
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.