TaskAnnotationBeanPostProcessor

public class TaskAnnotationBeanPostProcessor implements BeanPostProcessor

Factory class which is looking for classes with TaskChannel annotation to add them to the channel definition as channel action.

See also: TaskAction, TaskActionParam, TaskChannel

Constructors

TaskAnnotationBeanPostProcessor

public TaskAnnotationBeanPostProcessor(BundleContext bundleContext, ChannelService channelService)

Class constructor.

Parameters:
  • bundleContext – the bundle context, not null
  • channelService – the channel service, not null

Methods

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean, String beanName)

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean, String beanName)

processAnnotations

public void processAnnotations(ApplicationContext applicationContext)

Searches through the given application context and processes annotations used by task module.

Parameters:
  • applicationContext – the context of the application, not null