Annotation Type Application


  • @Documented
    @Target({TYPE,PACKAGE})
    @Retention(RUNTIME)
    public @interface Application
    This Annotation is used to document a JMON application. There should only be one entity annotated with this annotation per jmon jar.

    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:
    EventType, MonitorType, DirectoryProcessor, JarProcessor
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String author
      Enables the author to specify an author of the Application (meta info for human consumption).
      java.lang.String company
      Enables the author to specify a company that is the owner of the Application (meta info for human consumption).
      java.lang.String description
      Enables the author to specify a description of the Application (meta info for human consumption).
      java.lang.String name
      Enables the author to specify a name of the Application.
      java.lang.String version
      Enables the author to specify a version of the Application (meta info for human consumption).
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String classpath
      Specifies the classpath that will be used for the classloader of this application.
    • Element Detail

      • name

        java.lang.String name
        Enables the author to specify a name of the Application.
      • author

        java.lang.String author
        Enables the author to specify an author of the Application (meta info for human consumption).
      • version

        java.lang.String version
        Enables the author to specify a version of the Application (meta info for human consumption).
      • company

        java.lang.String company
        Enables the author to specify a company that is the owner of the Application (meta info for human consumption).
      • description

        java.lang.String description
        Enables the author to specify a description of the Application (meta info for human consumption).
      • classpath

        java.lang.String classpath
        Specifies the classpath that will be used for the classloader of this application. Entries should be delimited by semicolons, and may include ${env:VARNAME} or ${sys:VARNAME} placeholders that will be replaced by the value of the specified environment variable or Java system property.
        Default:
        ""