com.ibm.websphere.ras.annotation

Annotation Type TraceObjectField



  • @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface TraceObjectField
    This annotation enables dynamic trace processing and specifies the static trace object field (Logger or TraceComponent) that should be used. This annotation is not intended to be added manually.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      java.lang.String fieldDesc
      The descriptor of the field named by fieldName() in JVM format (for example, "Lcom/ibm/websphere/ras/TraceComponent;").
      java.lang.String fieldName
      The name of the Logger or TraceComponent static field.
    • Element Detail

      • fieldName

        public abstract java.lang.String fieldName
        The name of the Logger or TraceComponent static field.
        Default:
        ""
      • fieldDesc

        public abstract java.lang.String fieldDesc
        The descriptor of the field named by fieldName() in JVM format (for example, "Lcom/ibm/websphere/ras/TraceComponent;").
        Default:
        ""