Methods Summary |
---|
public java.lang.String | getContext()Get the context within which unique numbers will be generated.
|
public java.lang.String | nextId()Generate an id that is guaranteed to be unique across
multiple sessions of the same j2ee server on the same machine.
|
public long | nextNumber()Generate a number that is guaranteed to be unique
within the lifetime of one J2EE server instance
on one machine.(in both single-vm and multi-vm modes)
That is, between "j2ee -start" and "j2ee -stop".
|