Class SpringScheduledProcessor

java.lang.Object
io.quarkus.spring.scheduled.deployment.SpringScheduledProcessor

public class SpringScheduledProcessor extends Object
A simple processor that search for Spring Scheduled annotations in Beans and produce @io.quarkus.spring.scheduled.deployment.SpringScheduledAnnotatedMethodBuildItem to be consumed by Quarkus Scheduler extension
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final org.jboss.jandex.DotName
     
    (package private) static final org.jboss.jandex.DotName
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) org.jboss.jandex.AnnotationValue
    buildCronParam(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)
     
    (package private) List<org.jboss.jandex.AnnotationValue>
    buildDelayParams(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)
     
    (package private) org.jboss.jandex.AnnotationValue
    buildEveryParam(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)
     
    (package private) void
    collectScheduledMethods(io.quarkus.arc.deployment.BeanRegistrationPhaseBuildItem beanRegistrationPhase, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.scheduler.deployment.ScheduledBusinessMethodItem> scheduledBusinessMethods)
     
    (package private) void
    processSpringScheduledAnnotation(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.scheduler.deployment.ScheduledBusinessMethodItem> scheduledBusinessMethods, io.quarkus.arc.processor.BeanInfo bean, org.jboss.jandex.MethodInfo method, List<org.jboss.jandex.AnnotationInstance> scheduledAnnotations)
     
    (package private) io.quarkus.deployment.builditem.FeatureBuildItem
     
    List<io.quarkus.arc.deployment.UnremovableBeanBuildItem>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SPRING_SCHEDULED

      static final org.jboss.jandex.DotName SPRING_SCHEDULED
    • SPRING_SCHEDULES

      static final org.jboss.jandex.DotName SPRING_SCHEDULES
  • Constructor Details

    • SpringScheduledProcessor

      public SpringScheduledProcessor()
  • Method Details

    • registerFeature

      io.quarkus.deployment.builditem.FeatureBuildItem registerFeature()
    • unremovableBeans

      public List<io.quarkus.arc.deployment.UnremovableBeanBuildItem> unremovableBeans()
    • collectScheduledMethods

      void collectScheduledMethods(io.quarkus.arc.deployment.BeanRegistrationPhaseBuildItem beanRegistrationPhase, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.scheduler.deployment.ScheduledBusinessMethodItem> scheduledBusinessMethods)
    • processSpringScheduledAnnotation

      void processSpringScheduledAnnotation(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.scheduler.deployment.ScheduledBusinessMethodItem> scheduledBusinessMethods, io.quarkus.arc.processor.BeanInfo bean, org.jboss.jandex.MethodInfo method, List<org.jboss.jandex.AnnotationInstance> scheduledAnnotations)
    • buildCronParam

      org.jboss.jandex.AnnotationValue buildCronParam(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)
    • buildEveryParam

      org.jboss.jandex.AnnotationValue buildEveryParam(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)
    • buildDelayParams

      List<org.jboss.jandex.AnnotationValue> buildDelayParams(List<org.jboss.jandex.AnnotationValue> springAnnotationValues)