public class LoggerAwareBeanPostProcessor extends LoggerBeanPostProcessor
Injects loggers into new bean instances based on the different
LoggerAware
interfaces.
Modifier and Type | Field and Description |
---|---|
protected static String |
LOGGER_AWARE_METHOD_NAME |
hLoggerFactories, methodName
Constructor and Description |
---|
LoggerAwareBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
getLogger, getOrder, injectMethod, postProcessAfterInitialization, processLogger, setLoggerFactoryMap, setMethodName
protected static final String LOGGER_AWARE_METHOD_NAME
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
in class LoggerBeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2008-2013 Spring by Example. All Rights Reserved.