public class ReplicationEvent extends Object implements Serializable
ReplicationAction
needs to be handledModifier and Type | Field and Description |
---|---|
static String |
EVENT_TOPIC |
static String |
PATHS |
Constructor and Description |
---|
ReplicationEvent(ReplicationAction replicationAction) |
ReplicationEvent(ReplicationAction replicationAction,
boolean isLocal) |
Modifier and Type | Method and Description |
---|---|
static ReplicationEvent |
fromEvent(org.osgi.service.event.Event evt)
Convert an OSGi event to a replication event if possible.
|
ReplicationAction |
getReplicationAction()
Returns the underlying
ReplicationAction which fired this event |
org.osgi.service.event.Event |
toEvent()
Create a distributable event.
|
org.osgi.service.event.Event |
toNonDistributableEvent()
Create a non distributable event.
|
public static final String EVENT_TOPIC
public static final String PATHS
public ReplicationEvent(ReplicationAction replicationAction)
public ReplicationEvent(ReplicationAction replicationAction, boolean isLocal)
public ReplicationAction getReplicationAction()
ReplicationAction
which fired this eventpublic static ReplicationEvent fromEvent(org.osgi.service.event.Event evt)
evt
- The OSGi event.public org.osgi.service.event.Event toEvent()
public org.osgi.service.event.Event toNonDistributableEvent()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"