Class WatchAnnotationReader

java.lang.Object
repast.simphony.engine.watcher.WatchAnnotationReader

public class WatchAnnotationReader extends Object
Version:
$Revision: 1.2 $ $Date: 2006/01/10 16:59:23 $
Author:
Nick Collier
  • Constructor Details

    • WatchAnnotationReader

      public WatchAnnotationReader()
  • Method Details

    • processClass

      public void processClass(Class<?> clazz)
      Process the specified class for watch annnotations.
      Parameters:
      clazz - the class to process
    • processClasses

      public void processClasses(List<Class<?>> clazzes)
    • watchCount

      public int watchCount()
      Gets the number of watches.
      Returns:
      the number of watches
    • processObjectAsWatcher

      public void processObjectAsWatcher(Object object, ISchedule schedule, Context<Object> context)
      Examines the specified object to see if it should be a watcher and if so sets up accordingly.
      Parameters:
      object -
      schedule -
      context -
    • getContextListener

      public ContextListener getContextListener(ISchedule schedule)
    • reset

      public void reset()