Package com.quickwebframework.ioc.spring.util

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

Related Classes of com.quickwebframework.ioc.spring.util.BundleClassLoaderProxy

Copyright © 2018 www.massapicom. 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.