IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.xct.annotation
Class Annotation

java.lang.Object
  extended by com.ibm.wsspi.xct.annotation.Annotation
All Implemented Interfaces:
com.ibm.ffdc.config.Formattable, AnnotationValue

public class Annotation
extends java.lang.Object
implements AnnotationValue, com.ibm.ffdc.config.Formattable

This class is provided for WebSphere Application Server stack products and infrastructure extenders that want to use Cross Component Trace for product-specific correlation needs.

For details on usage, please contact IBM support.


Constructor Summary
Annotation(java.lang.String type)
           
Annotation(java.lang.String type, java.util.List<AnnotationValue> values)
           
 
Method Summary
 Annotation add(Annotation... annotations)
           
 Annotation add(AnnotationValue... val)
           
 Annotation add(Association... associations)
           
 Annotation add(Attachment... attachments)
           
 Annotation add(java.lang.String... string)
           
 Annotation associate(java.lang.String associationName, java.lang.String... id)
           
 boolean equals(Annotation other)
           
 boolean equals(java.lang.Object other)
           
 void formatTo(com.ibm.ffdc.config.IncidentStream is)
           
 java.lang.String getType()
           
 java.util.List<? extends AnnotationValue> getValues()
           
 int hashCode()
           
 java.lang.String toString()
           
 java.lang.Appendable toString(java.lang.Appendable app)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation(java.lang.String type)

Annotation

public Annotation(java.lang.String type,
                  java.util.List<AnnotationValue> values)
Method Detail

getType

public java.lang.String getType()

add

public Annotation add(java.lang.String... string)

add

public Annotation add(AnnotationValue... val)

add

public Annotation add(Attachment... attachments)

add

public Annotation add(Annotation... annotations)

add

public Annotation add(Association... associations)

associate

public Annotation associate(java.lang.String associationName,
                            java.lang.String... id)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.Appendable toString(java.lang.Appendable app)
                              throws java.io.IOException
Specified by:
toString in interface AnnotationValue
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(Annotation other)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getValues

public java.util.List<? extends AnnotationValue> getValues()
Specified by:
getValues in interface AnnotationValue

formatTo

public void formatTo(com.ibm.ffdc.config.IncidentStream is)
Specified by:
formatTo in interface com.ibm.ffdc.config.Formattable

IBM WebSphere Application ServerTM
Release 8