We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 697ae41 commit ca117bfCopy full SHA for ca117bf
src/main/java/com/crossoverjie/spring/processor/SpringLifeCycleProcessor.java
@@ -19,11 +19,17 @@ public class SpringLifeCycleProcessor implements BeanPostProcessor {
19
private final static Logger LOGGER = LoggerFactory.getLogger(SpringLifeCycleProcessor.class);
20
@Override
21
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
22
+ if ("annotationBean".equals(beanName)){
23
+ LOGGER.info("SpringLifeCycleProcessor start beanName={}",beanName);
24
+ }
25
return bean;
26
}
27
28
29
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
30
31
+ LOGGER.info("SpringLifeCycleProcessor end beanName={}",beanName);
32
33
34
35
0 commit comments