Class BeanExtender

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor

    public class BeanExtender
    extends java.lang.Object
    implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
    Extends the definition of a bean with another.

    Implements bean factory post processor.

    Since:
    5.0
    Author:
    Roy Wetherall
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanExtender()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)  
      void setBeanName​(java.lang.String beanName)  
      void setExtendingBeanName​(java.lang.String extendingBeanName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeanExtender

        public BeanExtender()
    • Method Detail

      • setBeanName

        public void setBeanName​(java.lang.String beanName)
        Parameters:
        beanName - bean name
      • setExtendingBeanName

        public void setExtendingBeanName​(java.lang.String extendingBeanName)
        Parameters:
        extendingBeanName - extending bean name
      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        See Also:
        BeanFactoryPostProcessor.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)