public class ServiceCapabilityImpl extends Object implements org.everit.osgi.linkage.ServiceCapability
ServiceCapability.| Constructor and Description |
|---|
ServiceCapabilityImpl(org.osgi.framework.ServiceReference<?> serviceReference)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getAttributes() |
Map<String,String> |
getDirectives() |
String |
getNamespace() |
org.osgi.framework.wiring.BundleRevision |
getResource()
Always the
BundleRevision that currently belongs to the bundle whose context was used
to register the OSGi service. |
org.osgi.framework.ServiceReference<?> |
getServiceReference() |
int |
hashCode() |
public ServiceCapabilityImpl(org.osgi.framework.ServiceReference<?> serviceReference)
serviceReference - All information is derived from the ServiceReference.public boolean equals(Object obj)
public Map<String,Object> getAttributes()
getAttributes in interface org.everit.osgi.linkage.ServiceCapabilitygetAttributes in interface org.osgi.resource.Capabilitypublic Map<String,String> getDirectives()
getDirectives in interface org.everit.osgi.linkage.ServiceCapabilitygetDirectives in interface org.osgi.resource.Capabilitypublic String getNamespace()
getNamespace in interface org.everit.osgi.linkage.ServiceCapabilitygetNamespace in interface org.osgi.resource.Capabilitypublic org.osgi.framework.wiring.BundleRevision getResource()
BundleRevision that currently belongs to the bundle whose context was used
to register the OSGi service.getResource in interface org.everit.osgi.linkage.ServiceCapabilitygetResource in interface org.osgi.resource.Capabilitypublic org.osgi.framework.ServiceReference<?> getServiceReference()
getServiceReference in interface org.everit.osgi.linkage.ServiceCapabilityCopyright © 2011–2015 Everit Kft.. All rights reserved.