Package org.nuxeo.osgi.services
Class ServiceReferenceImpl
java.lang.Object
org.nuxeo.osgi.services.ServiceReferenceImpl
- All Implemented Interfaces:
Comparable
,org.osgi.framework.ServiceReference
Dummy service reference. servicefactory not supported.
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
org.osgi.framework.Bundle
getProperty
(String key) String[]
org.osgi.framework.Bundle[]
boolean
isAssignableTo
(org.osgi.framework.Bundle bundle, String className) void
setProperties
(Dictionary<String, ?> dict)
-
Field Details
-
bundle
protected org.osgi.framework.Bundle bundle -
service
-
factory
protected org.osgi.framework.ServiceFactory factory -
props
-
-
Constructor Details
-
ServiceReferenceImpl
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in interfaceorg.osgi.framework.ServiceReference
-
getPropertyKeys
- Specified by:
getPropertyKeys
in interfaceorg.osgi.framework.ServiceReference
-
getBundle
public org.osgi.framework.Bundle getBundle()- Specified by:
getBundle
in interfaceorg.osgi.framework.ServiceReference
-
getUsingBundles
public org.osgi.framework.Bundle[] getUsingBundles()- Specified by:
getUsingBundles
in interfaceorg.osgi.framework.ServiceReference
-
isAssignableTo
- Specified by:
isAssignableTo
in interfaceorg.osgi.framework.ServiceReference
-
compareTo
- Specified by:
compareTo
in interfaceComparable
- Specified by:
compareTo
in interfaceorg.osgi.framework.ServiceReference
-
getService
-
setProperties
-