public class ServiceRegistrationImpl extends Object implements org.osgi.framework.ServiceRegistration
Modifier and Type | Field and Description |
---|---|
protected String[] |
classes |
protected OSGiAdapter |
osgi |
protected ServiceReferenceImpl |
ref |
Constructor and Description |
---|
ServiceRegistrationImpl(OSGiAdapter osgi,
org.osgi.framework.Bundle bundle,
String[] classes,
Object service) |
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.ServiceReference |
getReference() |
void |
setProperties(Dictionary properties) |
void |
unregister() |
protected OSGiAdapter osgi
protected ServiceReferenceImpl ref
public ServiceRegistrationImpl(OSGiAdapter osgi, org.osgi.framework.Bundle bundle, String[] classes, Object service)
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 © 2018 Nuxeo. All rights reserved.