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