|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.wiring.BundleCapabilityImpl
public class BundleCapabilityImpl
| Field Summary | |
|---|---|
static String |
VERSION_ATTR
|
| Constructor Summary | |
|---|---|
BundleCapabilityImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs)
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
getAttributes()
Returns the attributes of this capability. |
Map<String,String> |
getDirectives()
Returns the directives of this capability. |
String |
getNamespace()
Returns the namespace of this capability. |
BundleRevision |
getResource()
Returns the resource declaring this capability. |
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability. |
List<String> |
getUses()
|
boolean |
isAttributeMandatory(String name)
|
boolean |
isIncluded(String name)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.osgi.resource.Capability |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final String VERSION_ATTR
| Constructor Detail |
|---|
public BundleCapabilityImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs)
| Method Detail |
|---|
public BundleRevision getResource()
BundleCapability
This method returns the same value as BundleCapability.getRevision().
getResource in interface BundleCapabilitygetResource in interface Capabilitypublic BundleRevision getRevision()
BundleCapability
getRevision in interface BundleCapabilitypublic String getNamespace()
BundleCapability
getNamespace in interface BundleCapabilitygetNamespace in interface Capabilitypublic Map<String,String> getDirectives()
BundleCapability
All capability directives not specified by the
wiring namespaces have no specified
semantics and are considered extra user defined information.
getDirectives in interface BundleCapabilitygetDirectives in interface Capabilitypublic Map<String,Object> getAttributes()
BundleCapability
getAttributes in interface BundleCapabilitygetAttributes in interface Capabilitypublic boolean isAttributeMandatory(String name)
public List<String> getUses()
public boolean isIncluded(String name)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||