Class SchedulerAnnotationListener

java.lang.Object
dev.voidframework.scheduler.module.SchedulerAnnotationListener
All Implemented Interfaces:
com.google.inject.spi.TypeListener

public class SchedulerAnnotationListener extends Object implements com.google.inject.spi.TypeListener
Listens to the different bind classes to detect which ones have scheduled methods.
  • Constructor Details

    • SchedulerAnnotationListener

      public SchedulerAnnotationListener(ScheduledHandlers scheduledHandlers)
      Build a new instance.
      Parameters:
      scheduledHandlers - The scheduled hooks
  • Method Details

    • hear

      public <I> void hear(com.google.inject.TypeLiteral<I> type, com.google.inject.spi.TypeEncounter<I> encounter)
      Specified by:
      hear in interface com.google.inject.spi.TypeListener