Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `Uuid`s; 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

Constructor Summary
`UuidGenerator()` Creates new `UuidGenerator` instance.

Method Summary
`Uuid` | `generate()` Generates a new `Uuid`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UuidGenerator

    public UuidGenerator()

  Creates new `UuidGenerator` instance.

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved