public class ServiceRegistrationImpl extends java.lang.Object implements ServiceRegistration
ServiceRegistration
Modifier and Type | Method and Description |
---|---|
ServiceReference |
getReference()
Returns a ServiceReference object for this registration.
|
void |
setProperties(java.util.Dictionary props)
Update the properties associated with this service.
|
void |
unregister()
Unregister the service.
|
public ServiceReference getReference()
getReference
in interface ServiceRegistration
ServiceReference
object.ServiceRegistration.getReference()
public void setProperties(java.util.Dictionary props)
setProperties
in interface ServiceRegistration
props
- The properties for this service. See Constants
for a list of standard service property keys. Changes should not
be made to this object after calling this method. To update the
service's properties this method should be called again.ServiceRegistration.setProperties(java.util.Dictionary)
public void unregister()
unregister
in interface ServiceRegistration
ServiceRegistration.unregister()