org.kuali.rice.krad.uif.util
Class ComponentBeanPostProcessor

java.lang.Object
  extended by org.kuali.rice.krad.uif.util.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 Summary
ComponentBeanPostProcessor()
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
          Sets the unique Id for a Component if bean name given (not generated) and the id property was not set for the view
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentBeanPostProcessor

public ComponentBeanPostProcessor()
Method Detail

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)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.