@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface EventListener
For example, the following class implements a simple event listener:
public class TestListener { @EventListener public void onEvent(SampleEvent event) { System.out.println("Handled an event: " + event); } }
AnnotatedMethodsListenerHandler
public abstract String scope
Copyright © 2006-2016 Atlassian. All Rights Reserved.
View cookie preferences