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 Summary
Modifier and TypeFieldDescriptionprotected final org.springframework.beans.factory.BeanFactory
-
Constructor Summary
ConstructorDescriptionStateMachineActivatorAnnotationPostProcessor
(org.springframework.beans.factory.ListableBeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionpostProcess
(Class<?> beanClass, Object bean, String beanName, Method method, T metaAnnotation, Annotation annotation) Post process a bean.
-
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 ornull
. Caller of this method is then responsible to handle newly created object.- Specified by:
postProcess
in interfaceMethodAnnotationPostProcessor<T extends Annotation>
- Parameters:
beanClass
- the bean classbean
- the beanbeanName
- the bean namemethod
- the methodmetaAnnotation
- the meta annotationannotation
- the annotation- Returns:
- the post processed object
-