public void registerBundle(Bundle bundle) {
if (!bundleApplicationContextMap.containsKey(bundle)) {
ClassLoader bundleClassLoader = BundleUtils
.getBundleClassLoader(bundle);
// 加一个代理
bundleClassLoader = new BundleClassLoaderProxy(bundle,
bundleClassLoader);
ApplicationContext applicationContext = scanner.scan(bundle,
bundleClassLoader);
bundleApplicationContextMap.put(bundle, applicationContext);
} else {