public class AlertListener extends Object implements org.osgi.service.event.EventHandler
Constructor and Description |
---|
AlertListener(PersistentStore persistentStore) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(org.osgi.service.event.Event event)
Processes alert events and stores them in the persistent store.
|
void |
init() |
public AlertListener(PersistentStore persistentStore)
public void init() throws UnknownHostException
UnknownHostException
public void handleEvent(org.osgi.service.event.Event event) throws IllegalArgumentException
handleEvent
in interface org.osgi.service.event.EventHandler
event
- The osgi alert eventIllegalArgumentException
This work is licensed under a Creative Commons Attribution 4.0 International License.