public class HostedCapability extends Object implements Capability
| Constructor and Description |
|---|
HostedCapability(Resource host,
Capability cap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getAttributes()
Returns the attributes of this capability.
|
Map<String,String> |
getDirectives()
Returns the directives of this capability.
|
String |
getNamespace()
Returns the name space of this capability.
|
Capability |
getOriginalCapability() |
Resource |
getResource()
Returns the resource declaring this capability.
|
int |
hashCode() |
String |
toString() |
public HostedCapability(Resource host, Capability cap)
public Capability getOriginalCapability()
public Resource getResource()
CapabilitygetResource in interface Capabilitypublic String getNamespace()
CapabilitygetNamespace in interface Capabilitypublic Map<String,String> getDirectives()
CapabilityOnly the following list of directives have specified semantics:
effective
uses
mandatory -
only recognized for the osgi.wiring.bundle and
osgi.wiring.package
name spaces.
exclude - only
recognized for the osgi.wiring.package name space.
include - only
recognized for the osgi.wiring.package name space.
getDirectives in interface Capabilitypublic Map<String,Object> getAttributes()
CapabilitygetAttributes in interface CapabilityCopyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.