Package org.apache.aries.application.management.spi.framework

Examples of org.apache.aries.application.management.spi.framework.BundleFramework.stop()


    synchronized (BundleFrameworkManager.SHARED_FRAMEWORK_LOCK) {
      BundleFramework framework = getBundleFramework(b);
      if (framework != null) // App Content
      {
        for (Bundle bundle : framework.getBundles())
          framework.stop(bundle);
      }
      // Do not stop shared bundles
    }
  }
View Full Code Here


     
      // Stop all bundles inside the framework
      if (framework != null) // App Content
      {
        for (Bundle bundle : new ArrayList<Bundle>(framework.getBundles())) {
          framework.stop(bundle);
        }
      }
     
      // Do not stop shared bundles
    }
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.