public void unregister() { ServiceRegistration temp = getServiceRegistration(); if (temp != null) { setServiceRegistration(null); temp.unregister(); } }
public void unregister() { ServiceRegistration temp = getServiceRegistration(); if (temp != null) { setServiceRegistration(null); temp.unregister(); } }
public void unregister() { ServiceRegistration temp = getServiceRegistration(); if (temp != null) { setServiceRegistration(null); temp.unregister(); } }
void refreshProperties() { ServiceRegistration reg = getServiceRegistration(); if (reg != null) try { reg.setProperties(getServiceProperties()); } catch (IllegalStateException e) { // this must mean the service was unregistered // just ignore } }
void refreshProperties() { ServiceRegistration reg = getServiceRegistration(); if (reg != null) try { reg.setProperties(getServiceProperties()); } catch (IllegalStateException e) { // this must mean the service was unregistered // just ignore } }
void refreshProperties() { ServiceRegistration reg = getServiceRegistration(); if (reg != null) try { reg.setProperties(getServiceProperties()); } catch (IllegalStateException e) { // this must mean the service was unregistered // just ignore } }