public class TrackingPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor that keeps track of the beans created after a certain point in order to later
allow them to be disposed (in the right dependency order).| Constructor and Description |
|---|
TrackingPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBeansTracked() |
void |
intersection(Collection<String> beanNames) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
reset() |
void |
startTracking() |
void |
stopTracking() |
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 void startTracking()
public void stopTracking()
public void intersection(Collection<String> beanNames)
public void reset()
Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.