org.knopflerfish.framework
Class ServiceRegistrationImpl

java.lang.Object
  extended by org.knopflerfish.framework.ServiceRegistrationImpl
All Implemented Interfaces:
ServiceRegistration

public class ServiceRegistrationImpl
extends java.lang.Object
implements ServiceRegistration

Implementation of the ServiceRegistration object.

See Also:
ServiceRegistration

Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReference

public ServiceReference getReference()
Returns a ServiceReference object for this registration.

Specified by:
getReference in interface ServiceRegistration
Returns:
ServiceReference object.
See Also:
ServiceRegistration.getReference()

setProperties

public void setProperties(java.util.Dictionary props)
Update the properties associated with this service.

Specified by:
setProperties in interface ServiceRegistration
Parameters:
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.
See Also:
ServiceRegistration.setProperties(java.util.Dictionary)

unregister

public void unregister()
Unregister the service.

Specified by:
unregister in interface ServiceRegistration
See Also:
ServiceRegistration.unregister()