public class ServiceReferenceImpl extends Object implements org.osgi.framework.ServiceReference
| Modifier and Type | Field and Description | 
|---|---|
protected org.osgi.framework.Bundle | 
bundle  | 
protected org.osgi.framework.ServiceFactory | 
factory  | 
protected Map<String,Object> | 
props  | 
protected Object | 
service  | 
| Constructor and Description | 
|---|
ServiceReferenceImpl(org.osgi.framework.Bundle bundle,
                    Object service)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(Object reference)  | 
org.osgi.framework.Bundle | 
getBundle()  | 
Object | 
getProperty(String key)  | 
String[] | 
getPropertyKeys()  | 
Object | 
getService()  | 
org.osgi.framework.Bundle[] | 
getUsingBundles()  | 
boolean | 
isAssignableTo(org.osgi.framework.Bundle bundle,
              String className)  | 
void | 
setProperties(Dictionary<String,?> dict)  | 
protected org.osgi.framework.Bundle bundle
protected org.osgi.framework.ServiceFactory factory
public ServiceReferenceImpl(org.osgi.framework.Bundle bundle, Object service)
public Object getProperty(String key)
getProperty in interface org.osgi.framework.ServiceReferencepublic String[] getPropertyKeys()
getPropertyKeys in interface org.osgi.framework.ServiceReferencepublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.osgi.framework.ServiceReferencepublic org.osgi.framework.Bundle[] getUsingBundles()
getUsingBundles in interface org.osgi.framework.ServiceReferencepublic boolean isAssignableTo(org.osgi.framework.Bundle bundle, String className)
isAssignableTo in interface org.osgi.framework.ServiceReferencepublic int compareTo(Object reference)
compareTo in interface ComparablecompareTo in interface org.osgi.framework.ServiceReferencepublic Object getService()
public void setProperties(Dictionary<String,?> dict)
Copyright © 2019 Nuxeo. All rights reserved.