org.apache.ojb.broker.util
Class GUIDFactory

java.lang.Object
  extended by org.apache.ojb.broker.util.GUIDFactory

public class GUIDFactory
extends java.lang.Object

A simple (and fast) factory for (human readable) GUID (Globally Unique ID) strings.
A GUID is composed of two parts (separator is ':'): 1. A two part unique UID for this host 2. The IP-Address of the local machine.
An example GUID would be: -32766:1135679889968:84.157.57.223.

Version:
$Id: GUIDFactory.java 365264 2005-12-31 18:42:46Z arminw $

Constructor Summary
GUIDFactory()
           
 
Method Summary
 java.lang.String next()
          Returns the next GUID string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIDFactory

public GUIDFactory()
Method Detail

next

public java.lang.String next()
Returns the next GUID string.



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30