if (persistent) { setStatus(Constants.BUNDLE_STARTED, false); }  if (framework.active) { if ((state & (STOPPING | RESOLVED | INSTALLED)) != 0) { return; }  state = RESOLVED;  if (Debug.DEBUG && Debug.DEBUG_GENERAL) { Debug.println("->stopped " + this); }  framework.publishBundleEvent(BundleEvent.STOPPED, this); }
throw new BundleException(Msg.formatter.getString("BUNDLE_FRAGMENT_STOP", this));
	protected void stopWorker(boolean persistent) throws BundleException {		if (persistent) {			setStatus(Constants.BUNDLE_STARTED, false);		}		if (framework.active) {			if ((state & (STOPPING | RESOLVED | INSTALLED)) != 0) {				return;			}			state = RESOLVED;			if (Debug.DEBUG && Debug.DEBUG_GENERAL) {				Debug.println("->stopped " + this); //$NON-NLS-1$			}			framework.publishBundleEvent(BundleEvent.STOPPED, this);		}	}