Examples of StartLevel


Examples of org.osgi.service.startlevel.StartLevel

  private abstract class BaseFactory<T> implements Factory<T>
  {
    public abstract T create(PackageAdmin pa, StartLevel sl);
    public final T create()
    {
      StartLevel sl = null;
      PackageAdmin pa = null;

      ServiceReference slRef = _startLevel.get();
      if (slRef != null) {
        sl = (StartLevel) ctx.getService(slRef);
View Full Code Here

Examples of org.rssowl.core.Owl.StartLevel

    fErrorStatus = errorStatus;

    boolean isOOMError = (fErrorStatus.getException() instanceof OutOfMemoryError);
    boolean isProfileLockedError = (fErrorStatus.getException() instanceof ProfileLockedException);
    boolean canUsePersistenceService = (InternalOwl.getDefault().getPersistenceService() != null);
    StartLevel startLevel = InternalOwl.getDefault().getStartLevel();
    fOfferRestorePages = !isOOMError && !isProfileLockedError && canUsePersistenceService && startLevel != StartLevel.STARTED && startLevel != StartLevel.SEARCH_INDEX_OPENED;

    /* Log State */
    if (forceAllowRestore)
      Activator.safeLogInfo("Opening Fatal Error Wizard (forced by user)"); //$NON-NLS-1$
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.