Package ru.vasiand.spring.boot.log4jdbc
Class Log4jdbcBeanPostProcessor
java.lang.Object
ru.vasiand.spring.boot.log4jdbc.Log4jdbcBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class Log4jdbcBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
A
BeanPostProcessor implementation that sets up log4jdbc logging.- See Also:
-
Properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName)
-
Constructor Details
-
Log4jdbcBeanPostProcessor
public Log4jdbcBeanPostProcessor()
-
-
Method Details
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postConstruct
@PostConstruct public void postConstruct()
-