加入Scanner的默认实现,为了支持下老的spring版本

This commit is contained in:
everywhere.z
2024-03-12 19:16:17 +08:00
parent 6ce97e6b0d
commit 6bfc66c4cc

View File

@@ -72,6 +72,11 @@ public class ComponentScanner implements BeanPostProcessor {
}
}
@Override
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
return bean;
}
@SuppressWarnings("rawtypes")
@Override
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {