Examples of BundleClassLoaderProxy


Examples of com.quickwebframework.ioc.spring.util.BundleClassLoaderProxy

  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 {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.