org.apache.ws.addressing.uuid
Interface UUIdGenerator

All Known Implementing Classes:
AxisUUIdGenerator, JugUUIdGenerator

public interface UUIdGenerator

Provides the ability to generate Universally Unique IDentifiers (UUIDs). Use UUIdGeneratorFactory.getGenerator() to obtain a singleton instance.

Author:
Ian P. Springer, Rodrigo Ruiz

Method Summary
 java.lang.String generateUUId()
          Generate a Universally Unique IDentifier (UUID).
 

Method Detail

generateUUId

java.lang.String generateUUId()
Generate a Universally Unique IDentifier (UUID).

IMPORTANT: This method must be thread-safe.

Returns:
a Universally Unique IDentifier (UUID)


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.