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 Details

    • UuidGenerator

      public UuidGenerator()
      Creates new UuidGenerator instance.
  • Method Details

    • 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