public class StubServiceReference extends Object implements org.osgi.framework.ServiceReference
Constructor and Description |
---|
StubServiceReference(com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation info,
org.osgi.framework.Bundle sourceBundle) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object reference) |
org.osgi.framework.Bundle |
getBundle() |
com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation |
getInformation() |
Object |
getProperty(String key) |
String[] |
getPropertyKeys() |
org.osgi.framework.Bundle[] |
getUsingBundles() |
boolean |
isAssignableTo(org.osgi.framework.Bundle bundle,
String className) |
public StubServiceReference(com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation info, org.osgi.framework.Bundle sourceBundle)
public Object getProperty(String key)
getProperty
in interface org.osgi.framework.ServiceReference
public String[] getPropertyKeys()
getPropertyKeys
in interface org.osgi.framework.ServiceReference
public org.osgi.framework.Bundle getBundle()
getBundle
in interface org.osgi.framework.ServiceReference
public org.osgi.framework.Bundle[] getUsingBundles()
getUsingBundles
in interface org.osgi.framework.ServiceReference
public boolean isAssignableTo(org.osgi.framework.Bundle bundle, String className)
isAssignableTo
in interface org.osgi.framework.ServiceReference
public int compareTo(Object reference)
compareTo
in interface Comparable
compareTo
in interface org.osgi.framework.ServiceReference
public com.redhat.thermostat.testutils.StubBundleContext.ServiceInformation getInformation()
Copyright © 2013. All Rights Reserved.