Class WatchAnnotationReader


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

      • WatchAnnotationReader

        public WatchAnnotationReader()
    • Method Detail

      • 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 -
      • reset

        public void reset()