Package org.apache.felix.framework
Class FilterImpl.WrapperCapability
java.lang.Object
org.apache.felix.framework.wiring.BundleCapabilityImpl
org.apache.felix.framework.FilterImpl.WrapperCapability
- All Implemented Interfaces:
BundleCapability,Capability
- Enclosing class:
FilterImpl
-
Field Summary
FieldsFields inherited from class org.apache.felix.framework.wiring.BundleCapabilityImpl
VERSION_ATTR -
Constructor Summary
ConstructorsConstructorDescriptionWrapperCapability(Dictionary dict, boolean caseSensitive) WrapperCapability(Map map) -
Method Summary
Modifier and TypeMethodDescriptionReturns the attributes of this capability.Returns the directives of this capability.Returns the namespace of this capability.Returns the bundle revision declaring this capability.getUses()Methods inherited from class org.apache.felix.framework.wiring.BundleCapabilityImpl
getResource, isAttributeMandatory, isIncluded, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.osgi.resource.Capability
equals, hashCode
-
Field Details
-
m_map
-
-
Constructor Details
-
WrapperCapability
-
WrapperCapability
-
WrapperCapability
-
-
Method Details
-
getRevision
Description copied from interface:BundleCapabilityReturns the bundle revision declaring this capability.- Specified by:
getRevisionin interfaceBundleCapability- Overrides:
getRevisionin classBundleCapabilityImpl- Returns:
- The bundle revision declaring this capability.
-
getNamespace
Description copied from interface:BundleCapabilityReturns the namespace of this capability.- Specified by:
getNamespacein interfaceBundleCapability- Specified by:
getNamespacein interfaceCapability- Overrides:
getNamespacein classBundleCapabilityImpl- Returns:
- The namespace of this capability.
-
getDirectives
Description copied from interface:BundleCapabilityReturns the directives of this capability.All capability directives not specified by the
wiring namespaceshave no specified semantics and are considered extra user defined information.- Specified by:
getDirectivesin interfaceBundleCapability- Specified by:
getDirectivesin interfaceCapability- Overrides:
getDirectivesin classBundleCapabilityImpl- Returns:
- An unmodifiable map of directive names to directive values for this capability, or an empty map if this capability has no directives.
-
getAttributes
Description copied from interface:BundleCapabilityReturns the attributes of this capability.- Specified by:
getAttributesin interfaceBundleCapability- Specified by:
getAttributesin interfaceCapability- Overrides:
getAttributesin classBundleCapabilityImpl- Returns:
- An unmodifiable map of attribute names to attribute values for this capability, or an empty map if this capability has no attributes.
-
getUses
- Overrides:
getUsesin classBundleCapabilityImpl
-