Package org.ff4j.spring.placeholder
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
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.BeanFactoryGetter accessor for attribute 'beanFactory'.Getter accessor for attribute 'beanName'.getFf4j()Getter accessor for attribute 'ff4j'.getId()Getter accessor for attribute 'id'.intgetOrder()Getter accessor for attribute 'order'.final voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory arg0) voidsetBeanName(String beanName) voidSetter accessor for attribute 'ff4j'.voidSetter accessor for attribute 'id'.voidsetOrder(int order) Setter accessor for attribute 'order'.
-
Constructor Details
-
FF4jPropertiesPlaceHolderConfigurer
public FF4jPropertiesPlaceHolderConfigurer()
-
-
Method Details
-
postProcessBeanFactory
public final void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) - Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
-
setBeanName
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory arg0) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
getFf4j
Getter accessor for attribute 'ff4j'.- Returns:
- current value of 'ff4j'
-
setFf4j
Setter accessor for attribute 'ff4j'.- Parameters:
ff4j- new value for 'ff4j '
-
getOrder
public int getOrder()Getter accessor for attribute 'order'.- Specified by:
getOrderin interfaceorg.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
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
Getter accessor for attribute 'id'.- Returns:
- current value of 'id'
-
setId
Setter accessor for attribute 'id'.- Parameters:
id- new value for 'id '
-