Annotation Type TraceObjectField


@Retention(RUNTIME) @Target(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
    Description
    The descriptor of the field named by fieldName() in JVM format (for example, "Lcom/ibm/websphere/ras/TraceComponent;").
    The name of the Logger or TraceComponent static field.
  • Element Details

    • fieldName

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

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