public class UpdateListenerJson
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 |
|---|
UpdateListenerJson(IdMap map)
Instantiates a new update listener.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(JsonObject updateMessage)
Execute.
|
JsonObject |
garbageCollection(java.lang.Object root)
Garbage collection.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
resetNotification()
Reset notification.
|
JsonObject |
startGarbageColection(java.lang.Object root)
Start carbage colection.
|
void |
suspendNotification()
Suspend notification.
|
public UpdateListenerJson(IdMap map)
map - the mappublic JsonObject startGarbageColection(java.lang.Object root)
root - the rootpublic 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 boolean execute(JsonObject updateMessage)
updateMessage - the update message