public class TypedBeanPostProcessor<T> extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
| Constructor and Description |
|---|
TypedBeanPostProcessor(Class<T> type,
Function<T,T> beforeInit,
Function<T,T> afterInit) |
| Modifier and Type | Method and Description |
|---|---|
static <T> TypedBeanPostProcessor<T> |
applyBeforeInitialization(Class<T> type,
Function<T,T> change) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic static <T> TypedBeanPostProcessor<T> applyBeforeInitialization(Class<T> type, Function<T,T> change)
Copyright © 2024. All rights reserved.