public class ComponentBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor
that processes configured Component
instances in the dictionary.Constructor and Description |
---|
ComponentBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
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) |
public ComponentBeanPostProcessor()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
BeanPostProcessor.postProcessBeforeInitialization(java.lang.Object,
java.lang.String)
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
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
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
BeanPostProcessor.postProcessAfterInitialization(java.lang.Object,
java.lang.String)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.