if (service == null)
if (state != REGISTERED)
	public void setProperties(Dictionary props) {		synchronized (registrationLock) {			if (service == null) /* in the process of unregistering */			{				throw new IllegalStateException(Msg.SERVICE_ALREADY_UNREGISTERED_EXCEPTION); //$NON-NLS-1$			}			this.properties = createProperties(props);		}		/* must not hold the registrationLock when this event is published */		framework.publishServiceEvent(ServiceEvent.MODIFIED, reference);	}