Package org.eclipse.osgi.service.resolver

Examples of org.eclipse.osgi.service.resolver.StateHelper


  public void frameworkStopping(BundleContext context) {
    if (!Debug.DEBUG || !Debug.DEBUG_ENABLED)
      return;

    BundleDescription[] allBundles = adaptor.getState().getResolvedBundles();
    StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();
    Object[][] cycles = stateHelper.sortBundles(allBundles);
    logCycles(cycles);
  }
View Full Code Here


    }
   
    private void diagnose(BundleDescription bundle, PlatformAdmin platformAdmin) {
        System.out.println(Utils.bundleToString(bundle));

        StateHelper stateHelper = platformAdmin.getStateHelper();
        VersionConstraint[] unsatisfied = stateHelper.getUnsatisfiedConstraints(bundle);       
        ResolverError[] resolverErrors = analyzeErrors(bundle, platformAdmin.getState(false));
       
        if (unsatisfied.length == 0 && resolverErrors.length == 0) {
            System.out.println(Utils.formatMessage(2, "No unresolved constraints."));
        }
View Full Code Here

  public void frameworkStopping(BundleContext context) {
    if (!Debug.DEBUG_ENABLED)
      return;

    BundleDescription[] allBundles = adaptor.getState().getResolvedBundles();
    StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();
    Object[][] cycles = stateHelper.sortBundles(allBundles);
    logCycles(cycles);
  }
View Full Code Here

  public void frameworkStopping(BundleContext context) {
    if (!Debug.DEBUG || !Debug.DEBUG_ENABLED)
      return;

    BundleDescription[] allBundles = adaptor.getState().getResolvedBundles();
    StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();
    Object[][] cycles = stateHelper.sortBundles(allBundles);
    logCycles(cycles);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.osgi.service.resolver.StateHelper

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.