com.apama.jmon.annotation
Annotation Type EventType


@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface EventType

This Annotation is used to mark a JMON Event class.

If name is defaulted then the MonitorScript Event 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, MonitorType, DirectoryProcessor, JarProcessor

Optional Element Summary
 java.lang.String description
          Enables the author to specify a description of the Event (meta info for human consumption).
 java.lang.String name
          Enables the author to specify the fully qualified MonitorScript name for the Event.
 

name

public abstract java.lang.String name
Enables the author to specify the fully qualified MonitorScript name for the Event. 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

public abstract java.lang.String description
Enables the author to specify a description of the Event (meta info for human consumption).

Default:
""


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG