public abstract class AbstractReplicationListener extends Object implements org.osgi.service.event.EventHandler
@Component(metatype = true) @Service @Property(name = EventConstants.EVENT_TOPIC, value = ReplicationAction.EVENT_TOPIC)
Constructor and Description |
---|
AbstractReplicationListener() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
handleActivate(String path)
Handle activation event.
|
protected abstract void |
handleDeactivate(String path)
Handle deactivation event.
|
protected abstract void |
handleDelete(String path)
Handle delete event.
|
void |
handleEvent(org.osgi.service.event.Event event) |
public final void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler
protected abstract void handleActivate(String path)
path
- payload pathprotected abstract void handleDeactivate(String path)
path
- payload pathprotected abstract void handleDelete(String path)
path
- payload pathCopyright © 2019 ICF Next. All rights reserved.