实现ApplicationContextAware接口,然后
Map<String, Object> serviceBeanMap = applicationContext.getBeansWithAnnotation(JobHandler.class);
实现ApplicationContextAware接口,然后
Map<String, Object> serviceBeanMap = applicationContext.getBeansWithAnnotation(JobHandler.class);
本文标题:ApplicationContextAware
本文链接:https://www.haomeiwen.com/subject/zlblmqtx.html
网友评论