Spring DM所提供的Bundle监听接口OsgiBundleApplicationContextListener
摘要:
通过使用Spring DM提供的监听接口,我们可以更好的对服务进行管控,其实该接口也非常简单就能使用上,只要自定义一个类实现OsgiBundleApplicationContextListener接口,实现onOsgiApplicationEvent方法,并将自定义类注册成OSGI服务,通过判断ev 阅读全文
posted @ 2017-02-16 20:36 1128XF 阅读(424) 评论(0) 推荐(0) 编辑