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 Details

    • BonitaPropertyAnnotationProcessor

      public BonitaPropertyAnnotationProcessor()
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.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:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException