org.springbyexample.util.log
Class LoggerAwareBeanPostProcessor
java.lang.Object
org.springbyexample.util.log.LoggerBeanPostProcessor
org.springbyexample.util.log.LoggerAwareBeanPostProcessor
- All Implemented Interfaces:
- BeanPostProcessor, Ordered
public class LoggerAwareBeanPostProcessor
- extends LoggerBeanPostProcessor
Injects loggers into new bean instances based on the different
LoggerAware
interfaces.
- Author:
- David Winterfeldt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_AWARE_METHOD_NAME
protected static final String LOGGER_AWARE_METHOD_NAME
- See Also:
- Constant Field Values
LoggerAwareBeanPostProcessor
public LoggerAwareBeanPostProcessor()
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessBeforeInitialization
in interface BeanPostProcessor
- Overrides:
postProcessBeforeInitialization
in class LoggerBeanPostProcessor
- Throws:
BeansException
Copyright © 2008-2009 Spring by Example. All Rights Reserved.