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, setOrder
public void setConfigurationProvider(ConfigurationProvider provider)
protected Class<Configurable> getLifeCycleInterface()
AbstractLifecycleBeanPostProcessor
getLifeCycleInterface
in class AbstractLifecycleBeanPostProcessor<Configurable>
protected void executeLifecycleMethodBeforeInit(Configurable bean, String beanname) throws Exception
AbstractLifecycleBeanPostProcessor
executeLifecycleMethodBeforeInit
in class AbstractLifecycleBeanPostProcessor<Configurable>
bean
- the actual beanbeanname
- then name of the beanException
protected void executeLifecycleMethodAfterInit(Configurable bean, String beanname) throws Exception
AbstractLifecycleBeanPostProcessor
executeLifecycleMethodAfterInit
in class AbstractLifecycleBeanPostProcessor<Configurable>
bean
- the actual beanbeanname
- then name of the beanException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.