com.ibm.wsspi.xct.annotation

Class Annotation

  • java.lang.Object
    • 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 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)
      • 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
      • 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.5