Class ListBeanPostProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered

    public class ListBeanPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered
    A Spring BeanPostProcessor to add additional values to already-created List object.
    Author:
    bdferris
    See Also:
    MapBeanPostProcessor, PropertiesBeanPostProcessor
    • Constructor Detail

      • ListBeanPostProcessor

        public ListBeanPostProcessor()
    • Method Detail

      • setTarget

        public void setTarget​(String target)
      • setValues

        public void setValues​(List<Object> values)
      • setOrder

        public void setOrder​(int order)
        Ordered Interface
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • postProcessBeforeInitialization

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