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, 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 Details
-
m_map
-
-
Constructor Details
-
WrapperCapability
-
WrapperCapability
-
WrapperCapability
-
-
Method Details
-
getRevision
Description copied from interface:BundleCapability
Returns the bundle revision declaring this capability.- Specified by:
getRevision
in interfaceBundleCapability
- Overrides:
getRevision
in classBundleCapabilityImpl
- Returns:
- The bundle revision declaring this capability.
-
getNamespace
Description copied from interface:BundleCapability
Returns the namespace of this capability.- Specified by:
getNamespace
in interfaceBundleCapability
- Specified by:
getNamespace
in interfaceCapability
- Overrides:
getNamespace
in classBundleCapabilityImpl
- Returns:
- The namespace of this capability.
-
getDirectives
Description copied from interface:BundleCapability
Returns the directives of this capability.All capability directives not specified by the
wiring namespaces
have no specified semantics and are considered extra user defined information.- Specified by:
getDirectives
in interfaceBundleCapability
- Specified by:
getDirectives
in interfaceCapability
- Overrides:
getDirectives
in 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:BundleCapability
Returns the attributes of this capability.- Specified by:
getAttributes
in interfaceBundleCapability
- Specified by:
getAttributes
in interfaceCapability
- Overrides:
getAttributes
in 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:
getUses
in classBundleCapabilityImpl
-