com.sun.btrace.annotations
Annotation Type OnEvent


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnEvent

BTrace methods annotated by this annotation are called when BTrace client sends "event" command. Client may send an event based on some form of user request to send (like pressing Ctrl-C or a GUI menu). String value may used as the name of the event.

Author:
A. Sundararajan

Optional Element Summary
 java.lang.String value
          The event name.
 

value

public abstract java.lang.String value
The event name.

Default:
""