public class StubServiceRegistration extends Object implements org.osgi.framework.ServiceRegistration
Constructor and Description |
---|
StubServiceRegistration(StubBundleContext ctx,
com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation info) |
Modifier and Type | Method and Description |
---|---|
com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation |
getInfo() |
org.osgi.framework.ServiceReference |
getReference() |
void |
setProperties(Dictionary properties) |
void |
unregister() |
public StubServiceRegistration(StubBundleContext ctx, com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation info)
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
public com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation getInfo()
Copyright © 2014. All rights reserved.