public void commit(State state) throws BundleException {  throw new UnsupportedOperationException("not implemented yet");
public synchronized void commit(State state) throws BundleException { if (!(state instanceof StateImpl)) throw new IllegalArgumentException(); if (state.getTimeStamp() != systemState.getTimeStamp())  throw new BundleException(""); StateDelta delta = state.getChanges(); BundleDelta[] addedBundles = delta.getChanges(BundleDelta.ADDED, false); for (int i = 0; i < addedBundles.length; i++) systemState.addBundle(factory.createBundleDescription(addedBundles[i].getBundle())); BundleDelta[] removedBundles = delta.getChanges(BundleDelta.REMOVED, false); for (int i = 0; i < removedBundles.length; i++) systemState.removeBundle(removedBundles[i].getBundle());
	public void commit(State state) throws BundleException {		//TODO: implement this		throw new UnsupportedOperationException("not implemented yet");	}