event annotation should be accessible on runtime

This commit is contained in:
Sebastian Sdorra
2014-03-18 15:46:55 +01:00
parent 96b0c8f8b0
commit 910253a5e2

View File

@@ -31,12 +31,27 @@
package sonia.scm.event;
//~--- non-JDK imports --------------------------------------------------------
import sonia.scm.plugin.PluginAnnotation;
//~--- JDK imports ------------------------------------------------------------
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation marks classes which are receivable over the event bus of
* scm-manager. This Event annotation is only for documentation and is not
* accessible at runtime.
* scm-manager.
*
* @author Sebastian Sdorra
* @since 1.33
*/
@Documented
@Target(ElementType.TYPE)
@PluginAnnotation("event")
@Retention(RetentionPolicy.RUNTIME)
public @interface Event {}