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