com.oakgrovesystems.util
Class UniqueId

java.lang.Object
  |
  +--com.oakgrovesystems.util.UniqueId

public class UniqueId
extends java.lang.Object

A 'globally unique' id generator. An id generated by getId() is a java.rmi.server.UID preceeded by a hex representation of he IP address returned by InetAddress.getLocalHost().


Constructor Summary
UniqueId()
           
 
Method Summary
static java.lang.String getId()
          Generates a 'globally unique' id
static java.lang.String getLastId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueId

public UniqueId()
Method Detail

getId

public static java.lang.String getId()
Generates a 'globally unique' id


getLastId

public static java.lang.String getLastId()


Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.