@Singleton public class ScheduledMethodProcessor extends Object implements ExecutableMethodProcessor<Scheduled>, Closeable
ExecutableMethodProcessor for the Scheduled annotation.| Constructor and Description | 
|---|
| ScheduledMethodProcessor(BeanContext beanContext,
                        Optional<ConversionService<?>> conversionService,
                        TaskExceptionHandler<?,?> taskExceptionHandler) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | process(BeanDefinition<?> beanDefinition,
       ExecutableMethod<?,?> method)The process method will be called for every  ExecutableMethodthat is annotated with the type parameter A. | 
public ScheduledMethodProcessor(BeanContext beanContext, Optional<ConversionService<?>> conversionService, TaskExceptionHandler<?,?> taskExceptionHandler)
beanContext - The bean context for DI of beans annotated with @InjectconversionService - To convert one type to anothertaskExceptionHandler - The default task exception handlerpublic void process(BeanDefinition<?> beanDefinition, ExecutableMethod<?,?> method)
ExecutableMethodProcessorExecutableMethod that is annotated with the type parameter A.process in interface AnnotationProcessor<Scheduled,ExecutableMethod<?,?>>process in interface ExecutableMethodProcessor<Scheduled>beanDefinition - The bean definition to processmethod - The executable method@PreDestroy public void close()
close in interface Closeableclose in interface AutoCloseable