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()
HostedCapability
getDeclaredCapability
in interface HostedCapability
public org.osgi.resource.Resource getResource()
HostedCapability
getResource
in interface org.osgi.resource.Capability
getResource
in interface HostedCapability
public String getNamespace()
getNamespace
in interface org.osgi.resource.Capability
public Map<String,String> getDirectives()
getDirectives
in interface org.osgi.resource.Capability
public Map<String,Object> getAttributes()
getAttributes
in interface org.osgi.resource.Capability
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.