Class ComponentBeanPostProcessor

java.lang.Object
org.kuali.rice.krad.datadictionary.uif.ComponentBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class ComponentBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Spring BeanPostProcessor that processes configured Component instances in the dictionary.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • ComponentBeanPostProcessor

      public ComponentBeanPostProcessor()
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
      See Also:
      • BeanPostProcessor.postProcessBeforeInitialization(java.lang.Object, java.lang.String)
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Sets the unique Id for a Component if bean name given (not generated) and the id property was not set for the view.

      The ID will only be set here if an id is given for the Spring bean. For inner beans, the ID will be generated during the view lifecycle

      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
      See Also:
      • BeanPostProcessor.postProcessAfterInitialization(java.lang.Object, java.lang.String)