com.sun.jini.reggie
Class UuidGenerator
java.lang.Object
com.sun.jini.reggie.UuidGenerator
public class UuidGenerator
- extends Object
Class for generating Uuid instances. By default, Reggie uses
instances of this class to generate Uuids; this behavior can be
customized by providing as configuration entry values instances of
subclasses which override the generate() method of this class.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
|
Constructor Summary |
UuidGenerator()
Creates new UuidGenerator instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UuidGenerator
public UuidGenerator()
- Creates new
UuidGenerator instance.
generate
public Uuid generate()
- Generates a new
Uuid. The default implementation of this
method returns the result of calling UuidFactory.generate();
subclasses can override this method to customize Uuid
generation.
- Returns:
- newly generated
Uuid
Copyright © GigaSpaces.