Package org.eclipse.osgi.framework.debug

Examples of org.eclipse.osgi.framework.debug.FrameworkDebugOptions


      permissionAdmin = register(Constants.OSGI_PERMISSIONADMIN_NAME, framework.permissionAdmin);
    if (framework.startLevelManager != null)
      startLevel = register(Constants.OSGI_STARTLEVEL_NAME, framework.startLevelManager);
    if (framework.condPermAdmin != null)
      condPermAdmin = register(ConditionalPermissionAdmin.class.getName(), framework.condPermAdmin);
    FrameworkDebugOptions dbgOptions = null;
    if ((dbgOptions = FrameworkDebugOptions.getDefault()) != null)
      debugOptions = register(org.eclipse.osgi.service.debug.DebugOptions.class.getName(), dbgOptions);

    // Always call the adaptor.frameworkStart() at the end of this method.
    framework.adaptor.frameworkStart(context);
View Full Code Here


    for (int i = 0; i < hooks.length; i++)
      storageHooks.add(hooks[i]);
  }

  private void setDebugOptions() {
    FrameworkDebugOptions options = FrameworkDebugOptions.getDefault();
    // may be null if debugging is not enabled
    if (options == null)
      return;
    StateManager.DEBUG = options != null;
    StateManager.DEBUG_READER = options.getBooleanOption(OPTION_RESOLVER_READER, false);
    StateManager.MONITOR_PLATFORM_ADMIN = options.getBooleanOption(OPTION_MONITOR_PLATFORM_ADMIN, false);
    StateManager.DEBUG_PLATFORM_ADMIN = options.getBooleanOption(OPTION_PLATFORM_ADMIN, false);
    StateManager.DEBUG_PLATFORM_ADMIN_RESOLVER = options.getBooleanOption(OPTION_PLATFORM_ADMIN_RESOLVER, false);
  }
View Full Code Here

    state = newState;
    flush();
  }

  private void setDebugOptions() {
    FrameworkDebugOptions options = FrameworkDebugOptions.getDefault();
    // may be null if debugging is not enabled
    if (options == null)
      return;
    DEBUG = options.getBooleanOption(OPTION_DEBUG, false);
    DEBUG_WIRING = options.getBooleanOption(OPTION_WIRING, false);
    DEBUG_IMPORTS = options.getBooleanOption(OPTION_IMPORTS, false);
    DEBUG_REQUIRES = options.getBooleanOption(OPTION_REQUIRES, false);
    DEBUG_GENERICS = options.getBooleanOption(OPTION_GENERICS, false);
    DEBUG_GROUPING = options.getBooleanOption(OPTION_GROUPING, false);
    DEBUG_CYCLES = options.getBooleanOption(OPTION_CYCLES, false);
  }
View Full Code Here

    }
    return defaultInstance;
  }

  public static void setDebugOptions() {
    FrameworkDebugOptions options = FrameworkDebugOptions.getDefault();
    // may be null if debugging is not enabled
    if (options == null)
      return;
    MONITOR_ACTIVATION = options.getBooleanOption(OPTION_MONITOR_ACTIVATION, false);
    MONITOR_CLASSES = options.getBooleanOption(OPTION_MONITOR_CLASSES, false);
    MONITOR_RESOURCES = options.getBooleanOption(OPTION_MONITOR_RESOURCES, false);
    TRACE_CLASSES = options.getBooleanOption(OPTION_TRACE_CLASSES, false);
    TRACE_BUNDLES = options.getBooleanOption(OPTION_TRACE_BUNDLES, false);
    TRACE_FILENAME = options.getOption(OPTION_TRACE_FILENAME, TRACE_FILENAME);
    TRACE_FILTERS = options.getOption(OPTION_TRACE_FILTERS, TRACE_FILTERS);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.osgi.framework.debug.FrameworkDebugOptions

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.