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
UnknownHostExceptionpublic void handleEvent(org.osgi.service.event.Event event)
throws IllegalArgumentException
handleEvent in interface org.osgi.service.event.EventHandlerevent - The osgi alert eventIllegalArgumentExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.