com.ibm.ws.activity
Class GlobalIdImpl

java.lang.Object
  |
  +--com.ibm.ws.util.UUID
        |
        +--com.ibm.ws.activity.GlobalIdImpl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, GlobalId, java.io.Serializable

public class GlobalIdImpl
extends com.ibm.ws.util.UUID
implements GlobalId

A GlobalId uniquely identifies an Activity across the namespace.

See Also:
Serialized Form

Constructor Summary
GlobalIdImpl()
           
GlobalIdImpl(byte[] bytes)
           
 
Method Summary
 java.lang.String print()
          Returns a printable String that identifies the Activity.
 byte[] toBytes()
          Returns a byte array representation of the GlobalId.
 
Methods inherited from class com.ibm.ws.util.UUID
clone, compareTo, equals, fillFromBytes, hashCode, isCurrentVersion, isOldVersion, toByteArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalIdImpl

public GlobalIdImpl()

GlobalIdImpl

public GlobalIdImpl(byte[] bytes)
Method Detail

toBytes

public byte[] toBytes()
Description copied from interface: GlobalId
Returns a byte array representation of the GlobalId. This is exactly equivalent to the buffer value of the org.omg.CosActivity.GlobalId which is defined in the OMG Activity service specification as a sequence of octets.

Specified by:
toBytes in interface GlobalId
Returns:
A byte array that uniquely identifies the Activity across the namespace.

print

public java.lang.String print()
Description copied from interface: GlobalId
Returns a printable String that identifies the Activity. This is used for debug and servicability purposes.

Specified by:
print in interface GlobalId
Returns:
A printable String that identifies the Activity.


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.