Package org.xbricks.common.samples
Class CustomBeanPostProcessor
java.lang.Object
org.xbricks.common.samples.CustomBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
@Component
public class CustomBeanPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
Created by Juraj Horak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpostProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName)
-
Constructor Details
-
CustomBeanPostProcessor
public CustomBeanPostProcessor()
-
-
Method Details
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(@Nullable Object bean, @Nullable String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(@Nullable Object bean, @Nullable String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-