eu.scape_project.watch.monitor
Class CentralMonitor

java.lang.Object
  extended by eu.scape_project.watch.monitor.CentralMonitor
All Implemented Interfaces:
DOListener

public class CentralMonitor
extends Object
implements DOListener


Constructor Summary
CentralMonitor()
           
 
Method Summary
 void addMonitor(MonitorInterface monitor)
           
 Collection<MonitorInterface> getAllMonitors()
           
 Collection<AsyncRequest> getAllRequests()
           
 NotificationService getNotificationService()
           
 void notifyAsyncRequests(List<String> ids)
           
 void onRemoved(thewebsemantic.binding.RdfBean object)
          Event fired on data object removal.
 void onUpdated(thewebsemantic.binding.RdfBean object)
          Event fired on data object creation or update.
 void registerToAsyncRequest(AsyncRequestDAO ar)
           
 void setNotificationService(NotificationService ns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentralMonitor

public CentralMonitor()
Method Detail

addMonitor

public void addMonitor(MonitorInterface monitor)

registerToAsyncRequest

public void registerToAsyncRequest(AsyncRequestDAO ar)

setNotificationService

public void setNotificationService(NotificationService ns)

getNotificationService

public NotificationService getNotificationService()

notifyAsyncRequests

public void notifyAsyncRequests(List<String> ids)

getAllRequests

public Collection<AsyncRequest> getAllRequests()

getAllMonitors

public Collection<MonitorInterface> getAllMonitors()

onUpdated

public void onUpdated(thewebsemantic.binding.RdfBean object)
Description copied from interface: DOListener
Event fired on data object creation or update.

Specified by:
onUpdated in interface DOListener
Parameters:
object - The created or updated object

onRemoved

public void onRemoved(thewebsemantic.binding.RdfBean object)
Description copied from interface: DOListener
Event fired on data object removal.

Specified by:
onRemoved in interface DOListener
Parameters:
object - The removed data object.


Copyright © 2012. All Rights Reserved.