org.nuxeo.ecm.platform.uidgen.ejb
Class UIDSequencerManagerBean
java.lang.Object
org.nuxeo.ecm.platform.uidgen.ejb.UIDSequencerManagerBean
- All Implemented Interfaces:
- UIDSequencerManager, UIDSequencerManagerLocal, UIDSequencer
public class UIDSequencerManagerBean
- extends Object
- implements UIDSequencerManagerLocal
The UID sequence manager implementation as a stateless session bean.
- Author:
- Dragos Mihalache, Bogdan Stefanescu
Method Summary |
int |
getNext(String key)
Handle transaction synchronizing on a static field so that two calls to
this method will give a distinct index (see NXP-2157) |
UIDSequencerManagerBean
public UIDSequencerManagerBean()
getNext
public int getNext(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:
Copyright © 2011 Nuxeo SAS. All Rights Reserved.