public class RemoteCMSListener extends Object implements ICMSComponentListener
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_BULK
The event type for a removed component (value is collection of change events).
|
static String |
EVENT_COMPONENT_ADDED
The event type for an added component (value is component description).
|
static String |
EVENT_COMPONENT_CHANGED
The event type for a changed component (value is component description).
|
static String |
EVENT_COMPONENT_REMOVED
The event type for a removed component (value is component description).
|
Constructor and Description |
---|
RemoteCMSListener(IComponentIdentifier cid,
String id,
IComponentManagementService cms,
IRemoteChangeListener rcl)
Create a CMS listener sending updates to a remote change listener.
|
Modifier and Type | Method and Description |
---|---|
IFuture |
componentAdded(IComponentDescription desc)
Called when a new element has been added.
|
IFuture |
componentChanged(IComponentDescription desc)
Called when a component has changed its state.
|
IFuture |
componentRemoved(IComponentDescription desc,
Map results)
Called when a new element has been removed.
|
boolean |
equals(Object obj)
Test if two objects are equal.
|
int |
hashCode()
Get the hashcode
|
public static final String EVENT_COMPONENT_ADDED
public static final String EVENT_COMPONENT_CHANGED
public static final String EVENT_COMPONENT_REMOVED
public static final String EVENT_BULK
public RemoteCMSListener(IComponentIdentifier cid, String id, IComponentManagementService cms, IRemoteChangeListener rcl)
public IFuture componentAdded(IComponentDescription desc)
componentAdded
in interface ICMSComponentListener
chainid
- The identifier.public IFuture componentChanged(IComponentDescription desc)
componentChanged
in interface ICMSComponentListener
chainid
- The identifier.public IFuture componentRemoved(IComponentDescription desc, Map results)
componentRemoved
in interface ICMSComponentListener
chainid
- The identifier.public boolean equals(Object obj)
Copyright © 2013. All Rights Reserved.