Package org.bonitasoft.engine.properties
Class BonitaPropertyAnnotationProcessor
java.lang.Object
org.bonitasoft.engine.properties.BonitaPropertyAnnotationProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
@Component
public class BonitaPropertyAnnotationProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
Spring
BeanPostProcessor that parses BonitaProperty and sets the value of the annotated field.
If a deprecated property name is detected, then a warning message is issued.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName)
-
Constructor Details
-
BonitaPropertyAnnotationProcessor
public BonitaPropertyAnnotationProcessor()
-
-
Method Details
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-