org.nuxeo.osgi.services
Class ServiceReferenceImpl
java.lang.Object
org.nuxeo.osgi.services.ServiceReferenceImpl
- All Implemented Interfaces:
- Comparable, org.osgi.framework.ServiceReference
public class ServiceReferenceImpl
- extends Object
- implements org.osgi.framework.ServiceReference
Dummy service reference. servicefactory not supported.
- Author:
- Bogdan Stefanescu
ServiceReferenceImpl
public ServiceReferenceImpl(org.osgi.framework.Bundle bundle,
Object service)
getProperty
public Object getProperty(String key)
- Specified by:
getProperty
in interface org.osgi.framework.ServiceReference
getPropertyKeys
public String[] getPropertyKeys()
- Specified by:
getPropertyKeys
in interface org.osgi.framework.ServiceReference
getBundle
public org.osgi.framework.Bundle getBundle()
- Specified by:
getBundle
in interface org.osgi.framework.ServiceReference
getUsingBundles
public org.osgi.framework.Bundle[] getUsingBundles()
- Specified by:
getUsingBundles
in interface org.osgi.framework.ServiceReference
isAssignableTo
public boolean isAssignableTo(org.osgi.framework.Bundle bundle,
String className)
- Specified by:
isAssignableTo
in interface org.osgi.framework.ServiceReference
compareTo
public int compareTo(Object reference)
- Specified by:
compareTo
in interface Comparable
- Specified by:
compareTo
in interface org.osgi.framework.ServiceReference
getService
public Object getService()
setProperties
public void setProperties(Dictionary<String,?> dict)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.