public class PVPUpdateManager extends AbstractADEPT2Service implements UpdateManager
ChangeListeners
for an object which are notified when properties of that object
change.
| Modifier and Type | Class and Description |
|---|---|
protected class |
PVPUpdateManager.UpdateRequest
The UpdateRequest is attached to the SWT Default thread responsible for UI
updates.
|
AbstractADEPT2Service.ActiveSessionsUpdateManager.ActivityProperties, UpdateManager.DataEdgeProperties, UpdateManager.DataElementProperties, UpdateManager.EdgeProperties, UpdateManager.InstanceProperties, UpdateManager.NodeProperties, UpdateManager.ProcessProperties, UpdateManager.TransactionPropertiesCONF_CSV_LOGGING, configuration, logger, registry, runtimeRequiredServices, startupRequiredServicesACTIVITY_STATE, DEFAULT_PRIORITY| Constructor and Description |
|---|
PVPUpdateManager(Configuration configuration,
Registry registry)
The update manager could be called as an ADEPT2Service
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.Object what,
ChangeListener callback)
Add callback as a new listener for what, using the default priority.
|
void |
addListener(java.lang.Object what,
ChangeListener callback,
int priority)
Add callback as a new listener for what
|
protected void |
asyncSendPropertyChanges()
Property change events are published asynchronous.
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop)
Notify all interested parties of changes to a Process element
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object newValue)
Notify all interested parties of changes to a Process element
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object oldValue,
java.lang.Object newValue)
Notify all interested parties of changes to a Process element
|
protected void |
queuePropertyChanges(java.lang.Object procElement,
PropertyChangeEvent pce)
Send PropertyChangeEvent pce to all listeners for object procElement
|
void |
removeListener(java.lang.Object what,
ChangeListener callback)
Remove a callback from the listener list for object what
|
void |
sendPropertyChanges()
Send all queued events and flush the queue.
|
_sessionActive, _sessionFinished, activeOrInvalidServiceStateException, changeLogContext, changeLogContext, changeLogContext, consoleLog, csvLoggingEnabled, getClassSpecificJulLogger, getDependencyRegistry, getLocalUris, getLogger, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, getUserCredentials, init, isActive, isSessionActive, isShutdown, logMethodEntry, logMethodEntry, logMethodEntry, logMethodExit, logMethodExit, ping, preShutdown, privilegeSession, privilegeThread, revertLogContextChanges, sessionActive, sessionActive, sessionActive, sessionActive, sessionFinished, sessionFinished, shutdown, signalShutdown, signalStart, start, unprivilegeThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startpublic PVPUpdateManager(Configuration configuration, Registry registry)
configuration - the configuration of the update managerregistry - the registry of the update managerpublic void addListener(java.lang.Object what,
ChangeListener callback)
UpdateManageraddListener in interface UpdateManagerwhat - The object that is to be monitoredcallback - The object receiving notificationpublic void addListener(java.lang.Object what,
ChangeListener callback,
int priority)
UpdateManageraddListener in interface UpdateManagerwhat - The object that is to be monitoredcallback - The object receiving notificationpriority - The priority - smaller numbers lead to earlier calls.public void removeListener(java.lang.Object what,
ChangeListener callback)
UpdateManagerremoveListener in interface UpdateManagerwhat - The monitored objectcallback - The PropertyChangeListener to be removedpublic void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop)
firePropertyChange in interface UpdateManagerprocElement - The altered Process elementprop - The altered propertypublic void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object newValue)
firePropertyChange in interface UpdateManagerprocElement - The altered Process elementprop - The altered propertynewValue - The new value of the propertypublic void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object oldValue,
java.lang.Object newValue)
firePropertyChange in interface UpdateManagerprocElement - The altered Process elementprop - The altered propertyoldValue - the old value of the propertynewValue - The new value of the propertyprotected void queuePropertyChanges(java.lang.Object procElement,
PropertyChangeEvent pce)
procElement - the keypce - the eventpublic void sendPropertyChanges()
UpdateManagersendPropertyChanges in interface UpdateManagerprotected void asyncSendPropertyChanges()