-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.4
-
Component/s: None
-
Upgrade notes:
Improve UID Sequencer - align on core-persistence model to make it visible as a Nuxeo service.
Now, the UIDSequencer is private to the uid-generator plugin. But you may want to use the sequencer in other plugins too.
The project still use old code, and the sequencer implementation is not a nuxeo service - and only works on Jboss distribution.
The goal is to externalize this service and align the code base on core-persistence so we can use the service in tomcat or jetty distributions too.
To use the sequencer service you will need to write this:
Framework.getService(UIDSequencer.class).getNext("mySequence");