Package com.sun.jini.reggie
Class UuidGenerator
java.lang.Object
com.sun.jini.reggie.UuidGenerator
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
Constructors -
Method Summary
-
Constructor Details
-
UuidGenerator
public UuidGenerator()Creates newUuidGeneratorinstance.
-
-
Method Details
-
generate
Generates a newUuid. The default implementation of this method returns the result of callingUuidFactory.generate(); subclasses can override this method to customizeUuidgeneration.- Returns:
- newly generated
Uuid
-