Package org.onebusaway.container.spring
Class MapBeanPostProcessor
- java.lang.Object
-
- org.onebusaway.container.spring.MapBeanPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.core.Ordered
public class MapBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered
A SpringBeanPostProcessorto add additional values to already-createdMapobject.- Author:
- bdferris
- See Also:
ListBeanPostProcessor,PropertiesBeanPostProcessor
-
-
Constructor Summary
Constructors Constructor Description MapBeanPostProcessor()
-
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)OrderedInterfacevoidsetTarget(String target)voidsetValues(Map<Object,Object> values)
-
-
-
Method Detail
-
setTarget
public void setTarget(String target)
-
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
-
-