Update AdaptedThreadPoolDestroyPostProcessor.java add default impl (#1384)

Fix match case: spring-beans-4.3.21.RELEASE.jar
Forked from: spring-beans-5.1.14.RELEASE.jar
dependabot/npm_and_yarn/threadpool/console-new/tough-cookie-4.1.3
LauItachi 1 year ago committed by GitHub
parent d4bb9e3772
commit 10bc5c300f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,6 +78,20 @@ public class AdaptedThreadPoolDestroyPostProcessor implements DestructionAwareBe
.ifPresent(executorHolder -> destroyAdaptedThreadPoolExecutor(beanName, executorHolder));
}
@Override
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
// forked default implementation from spring-beans-5.1.14.RELEASE.jar
// org.springframework.beans.factory.config.BeanPostProcessor#postProcessBeforeInitialization
return bean;
}
@Override
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
// forked default implementation from spring-beans-5.1.14.RELEASE.jar
// org.springframework.beans.factory.config.BeanPostProcessor#postProcessAfterInitialization
return bean;
}
private void destroyAdaptedThreadPoolExecutor(String beanName, ThreadPoolExecutorHolder executorHolder) {
try {
if (log.isDebugEnabled()) {

Loading…
Cancel
Save