public class ConfigurableBeanPostProcessor extends AbstractLifecycleBeanPostProcessor<Configurable>
| Constructor and Description |
|---|
ConfigurableBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeLifecycleMethodAfterInit(Configurable bean,
String beanname)
Method which gets executed if the bean implement the LifeCycleInterface.
|
protected void |
executeLifecycleMethodBeforeInit(Configurable bean,
String beanname)
Method which gets executed if the bean implement the LifeCycleInterface.
|
protected Class<Configurable> |
getLifeCycleInterface()
Return the class which mark the lifecycle.
|
void |
setConfigurationProvider(ConfigurationProvider provider) |
getOrder, postProcessAfterInitialization, postProcessBeforeInitialization, setBeanFactory, setOrderpublic void setConfigurationProvider(ConfigurationProvider provider)
protected Class<Configurable> getLifeCycleInterface()
AbstractLifecycleBeanPostProcessorgetLifeCycleInterface in class AbstractLifecycleBeanPostProcessor<Configurable>protected void executeLifecycleMethodBeforeInit(Configurable bean, String beanname) throws Exception
AbstractLifecycleBeanPostProcessorexecuteLifecycleMethodBeforeInit in class AbstractLifecycleBeanPostProcessor<Configurable>bean - the actual beanbeanname - then name of the beanExceptionprotected void executeLifecycleMethodAfterInit(Configurable bean, String beanname) throws Exception
AbstractLifecycleBeanPostProcessorexecuteLifecycleMethodAfterInit in class AbstractLifecycleBeanPostProcessor<Configurable>bean - the actual beanbeanname - then name of the beanExceptionCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.