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.ServiceRegistration
public void setProperties(Dictionary properties)
setProperties
in interface org.osgi.framework.ServiceRegistration
public void unregister()
unregister
in interface org.osgi.framework.ServiceRegistration
Copyright © 2006–2015. All rights reserved.