Package repast.simphony.engine.watcher
Class WatchContextListener
- java.lang.Object
-
- repast.simphony.engine.watcher.WatchContextListener
-
- All Implemented Interfaces:
ContextListener<Object>
public class WatchContextListener extends Object implements ContextListener<Object>
ContextListener that examines objects added to a Context to see if they have watches and if so setup the notification mechanism on them.- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventOccured(ContextEvent<Object> event)
Called to nofify the listener of a change to a context.
-
-
-
Method Detail
-
eventOccured
public void eventOccured(ContextEvent<Object> event)
Description copied from interface:ContextListener
Called to nofify the listener of a change to a context.- Specified by:
eventOccured
in interfaceContextListener<Object>
- Parameters:
event
- The event of which to notify the listener.
-
-