public class WrappedCapability extends Object implements HostedCapability
| Constructor and Description |
|---|
WrappedCapability(org.osgi.resource.Resource host,
org.osgi.resource.Capability cap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getAttributes() |
org.osgi.resource.Capability |
getDeclaredCapability()
Return the Capability hosted by the Resource.
|
Map<String,String> |
getDirectives() |
String |
getNamespace() |
org.osgi.resource.Resource |
getResource()
Return the Resource that hosts this Capability.
|
int |
hashCode() |
String |
toString() |
public WrappedCapability(org.osgi.resource.Resource host,
org.osgi.resource.Capability cap)
public boolean equals(Object obj)
public int hashCode()
public org.osgi.resource.Capability getDeclaredCapability()
HostedCapabilitygetDeclaredCapability in interface HostedCapabilitypublic org.osgi.resource.Resource getResource()
HostedCapabilitygetResource in interface org.osgi.resource.CapabilitygetResource in interface HostedCapabilitypublic String getNamespace()
getNamespace in interface org.osgi.resource.Capabilitypublic Map<String,String> getDirectives()
getDirectives in interface org.osgi.resource.Capabilitypublic Map<String,Object> getAttributes()
getAttributes in interface org.osgi.resource.CapabilityCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.