ApplicationContextAware

2019-03-15  本文已影响0人  xhrg

实现ApplicationContextAware接口,然后

Map<String, Object> serviceBeanMap = applicationContext.getBeansWithAnnotation(JobHandler.class);

上一篇下一篇

猜你喜欢

热点阅读