	public void init(Properties configuration) {
		if ((getState() & (Bundle.ACTIVE | Bundle.STARTING)) != 0)
			throw new IllegalStateException("Framework is active!!");
		synchronized (this) {
			if (impl != null && impl.getState() != Bundle.INSTALLED) {
				try {
					impl.stop();
					impl.waitForStop(30000); 
				} catch (BundleException e) {
				} catch (InterruptedException e) {
				}
				impl = null;
			}
		}
		getImpl().init(configuration);
	}

	public void init(Properties configuration) {
		if ((getState() & (Bundle.ACTIVE | Bundle.STARTING | Bundle.STOPPING)) != 0)
			throw new IllegalStateException("Framework is active!!");
		synchronized (this) {
			if (impl != null && impl.getState() != Bundle.INSTALLED) {
				try {
					impl.stop();
					impl.waitForStop(30000); 
				} catch (BundleException e) {
				} catch (InterruptedException e) {
				}
				impl = null;
			}
		}
		getImpl().init(configuration);
	}
