public class UpdateJson
extends java.lang.Object
implements java.beans.PropertyChangeListener
addUpdateListener method. When the update event
occurs, that object's appropriate method is invoked.| Constructor and Description |
|---|
UpdateJson(IdMap map)
Instantiates a new update listener.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(JsonObject updateMessage)
Execute.
|
java.lang.Object |
execute(JsonObject updateMessage,
Filter filter)
Execute.
|
JsonObject |
garbageCollection(java.lang.Object root)
Garbage collection.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
resetNotification()
Reset notification.
|
void |
suspendNotification()
Suspend notification.
|
public UpdateJson(IdMap map)
map - the mappublic JsonObject garbageCollection(java.lang.Object root)
root - the rootpublic void suspendNotification()
public void resetNotification()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic java.lang.Object execute(JsonObject updateMessage)
updateMessage - the update messagepublic java.lang.Object execute(JsonObject updateMessage, Filter filter)
updateMessage - the update messagefilter - Filter for exclude UpdateMessages