public void start(BundleContext context) throws Exception {
Activator.context = context;
// 注册依赖注入服务
springIocFrameworkService = new SpringIocFrameworkService();
iocFrameworkServiceRegistration = context.registerService(
IocFrameworkService.class.getName(), springIocFrameworkService,
null);
// 添加插件监听器
context.addBundleListener(bundleListener);