Package org.onebusaway.container.spring
Class PropertiesBeanPostProcessor
- java.lang.Object
-
- org.onebusaway.container.spring.PropertiesBeanPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.core.Ordered
public class PropertiesBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered
A SpringBeanPostProcessorto add additional values to already-createdPropertiesobject.- Author:
- bdferris
- See Also:
ListBeanPostProcessor,PropertiesBeanPostProcessor
-
-
Constructor Summary
Constructors Constructor Description PropertiesBeanPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()ObjectpostProcessAfterInitialization(Object obj, String beanName)ObjectpostProcessBeforeInitialization(Object bean, String beanName)BeanPostProcessorInterfacevoidsetOrder(int order)OrderedInterfacevoidsetProperties(Properties properties)voidsetTarget(String target)voidsetTargets(List<String> targets)
-
-
-
Method Detail
-
setTarget
public void setTarget(String target)
-
setProperties
public void setProperties(Properties properties)
-
setOrder
public void setOrder(int order)
OrderedInterface
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
BeanPostProcessorInterface- Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object obj, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
-