public class ServiceRegistrationDecorator extends Object implements org.osgi.framework.ServiceRegistration
ServiceReference which add notification for ServiceRegistration.unregister()
method when dealing with listeners.| Constructor and Description |
|---|
ServiceRegistrationDecorator(org.osgi.framework.ServiceRegistration registration) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.ServiceReference |
getReference() |
void |
setProperties(Dictionary properties) |
String |
toString() |
void |
unregister() |
public ServiceRegistrationDecorator(org.osgi.framework.ServiceRegistration registration)
public org.osgi.framework.ServiceReference getReference()
getReference in interface org.osgi.framework.ServiceRegistrationpublic void setProperties(Dictionary properties)
setProperties in interface org.osgi.framework.ServiceRegistrationpublic void unregister()
unregister in interface org.osgi.framework.ServiceRegistrationCopyright © 2006–2013. All rights reserved.