Class StateMachineActivatorAnnotationPostProcessor<T extends Annotation>

java.lang.Object
org.springframework.statemachine.processor.StateMachineActivatorAnnotationPostProcessor<T>
All Implemented Interfaces:
MethodAnnotationPostProcessor<T>

public class StateMachineActivatorAnnotationPostProcessor<T extends Annotation> extends Object implements MethodAnnotationPostProcessor<T>
  • Field Details

    • beanFactory

      protected final org.springframework.beans.factory.BeanFactory beanFactory
  • Constructor Details

    • StateMachineActivatorAnnotationPostProcessor

      public StateMachineActivatorAnnotationPostProcessor(org.springframework.beans.factory.ListableBeanFactory beanFactory)
  • Method Details

    • postProcess

      public Object postProcess(Class<?> beanClass, Object bean, String beanName, Method method, T metaAnnotation, Annotation annotation)
      Description copied from interface: MethodAnnotationPostProcessor
      Post process a bean. As a result of a given bean, its name, method and annotation in a method, this method can return a new bean or null. Caller of this method is then responsible to handle newly created object.
      Specified by:
      postProcess in interface MethodAnnotationPostProcessor<T extends Annotation>
      Parameters:
      beanClass - the bean class
      bean - the bean
      beanName - the bean name
      method - the method
      metaAnnotation - the meta annotation
      annotation - the annotation
      Returns:
      the post processed object