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()
Capability
getResource
in interface Capability
public String getNamespace()
Capability
getNamespace
in interface Capability
public Map<String,String> getDirectives()
Capability
Only 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 Capability
public Map<String,Object> getAttributes()
Capability
getAttributes
in interface Capability
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.