Annotation Type MonitorType


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface MonitorType
    This Annotation is used to mark a JMON Monitor class.

    If name is defaulted then the MonitorScript Monitor name is the same as the fully qualified java class name.

    The utility classes DirectoryProcessor and JarProcessor that are used to automatically generate the jmon-jar.xml deployment descriptor file will process this annotation.

    See Also:
    Application, EventType, DirectoryProcessor, JarProcessor
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description
      Enables the author to specify a description of the Monitor (meta info for human consumption).
      java.lang.String name
      Enables the author to specify the fully qualified MonitorScript name for the Monitor.
    • Element Detail

      • name

        java.lang.String name
        Enables the author to specify the fully qualified MonitorScript name for the Monitor. If not specified, the processor will automatically set this to be the same as the fully qualified java class name of the class that is being annotated.
        Default:
        ""
      • description

        java.lang.String description
        Enables the author to specify a description of the Monitor (meta info for human consumption).
        Default:
        ""