Class FF4jPropertiesPlaceHolderConfigurer

java.lang.Object
org.ff4j.spring.placeholder.FF4jPropertiesPlaceHolderConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered

public class FF4jPropertiesPlaceHolderConfigurer extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered, org.springframework.beans.factory.BeanNameAware
PostProcessorFactory used to perform replacement of @ff4jProperty{""} in XML files by property value.
Author:
Cedrick LUNVEN
  • Constructor Details

    • FF4jPropertiesPlaceHolderConfigurer

      public FF4jPropertiesPlaceHolderConfigurer()
  • Method Details

    • postProcessBeanFactory

      public final void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
    • setBeanName

      public void setBeanName(String beanName)
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory arg0) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • getFf4j

      public FF4j getFf4j()
      Getter accessor for attribute 'ff4j'.
      Returns:
      current value of 'ff4j'
    • setFf4j

      public void setFf4j(FF4j ff4j)
      Setter accessor for attribute 'ff4j'.
      Parameters:
      ff4j - new value for 'ff4j '
    • getOrder

      public int getOrder()
      Getter accessor for attribute 'order'.
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Returns:
      current value of 'order'
    • setOrder

      public void setOrder(int order)
      Setter accessor for attribute 'order'.
      Parameters:
      order - new value for 'order '
    • getBeanName

      public String getBeanName()
      Getter accessor for attribute 'beanName'.
      Returns:
      current value of 'beanName'
    • getBeanFactory

      public org.springframework.beans.factory.BeanFactory getBeanFactory()
      Getter accessor for attribute 'beanFactory'.
      Returns:
      current value of 'beanFactory'
    • getId

      public String getId()
      Getter accessor for attribute 'id'.
      Returns:
      current value of 'id'
    • setId

      public void setId(String id)
      Setter accessor for attribute 'id'.
      Parameters:
      id - new value for 'id '