public interface EventListener
To register an EventListener, a file must be created with the name
META-INF/services/org.jboss.forge.furnace.container.simple.EventListener, and each EventListener
implementation type name must be added on a separate line:
public class ExampleEventListener implements EventListener
{
// ...
}
Example registration file:
META-INF/services/org.jboss.forge.furnace.container.simple.EventListener ------- org.example.ExampleEventListener org.example.ExampleEventListener2 org.my.custom.MyEventListener -------
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(Object event,
Annotation... qualifiers) |
void handleEvent(Object event, Annotation... qualifiers)
Copyright © 2014 JBoss by Red Hat. All rights reserved.