public boolean isResolved() { return target.isResolved(); }
public boolean isResolved() { return state.isResolved(); }
@Override public boolean isResolved() { return state.isResolved(); }
public boolean isResolved() { return target.isResolved(); }
public boolean isResolved() { return platformAdmin.getSystemState().isResolved(); }
public boolean isResolved() { return platformAdmin.getSystemState().isResolved(); }
protected boolean readyToResume() { // Return false if the bundle is not at the correct start-level if (getInternalStartLevel() > framework.startLevelManager.getStartLevel()) return false; int status = bundledata.getStatus(); // Return false if the bundle is not persistently marked for start if ((status & Constants.BUNDLE_STARTED) == 0) return false; if ((status & Constants.BUNDLE_ACTIVATION_POLICY) == 0 || (status & Constants.BUNDLE_LAZY_START) == 0 || isLazyTriggerSet()) return true; if (!isResolved()) { if (framework.getAdaptor().getState().isResolved() || !framework.packageAdmin.resolveBundles(new Bundle[] {this})) // should never transition from UNRESOLVED -> STARTING return false; } // now we can publish the LAZY_ACTIVATION event state = STARTING; // release the state change lock before sending lazy activation event (bug 258659) completeStateChange(); framework.publishBundleEvent(BundleEvent.LAZY_ACTIVATION, this); return false; }
protected boolean readyToResume() { // Return false if the bundle is not at the correct start-level if (getInternalStartLevel() > framework.startLevelManager.getStartLevel()) return false; int status = bundledata.getStatus(); // Return false if the bundle is not persistently marked for start if ((status & Constants.BUNDLE_STARTED) == 0) return false; if ((status & Constants.BUNDLE_ACTIVATION_POLICY) == 0 || (status & Constants.BUNDLE_LAZY_START) == 0 || isLazyTriggerSet()) return true; if (!isResolved()) { if (framework.getAdaptor().getState().isResolved() || !framework.packageAdmin.resolveBundles(new Bundle[] {this})) // should never transition from UNRESOLVED -> STARTING return false; } // now we can publish the LAZY_ACTIVATION event state = STARTING; // release the state change lock before sending lazy activation event (bug 258659) completeStateChange(); framework.publishBundleEvent(BundleEvent.LAZY_ACTIVATION, this); return false; }