@ProviderType public interface BundleCapability extends Capability
bundle
revision
.Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns the attributes of this capability.
|
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Returns the directives of this capability.
|
java.lang.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.
|
equals, hashCode
BundleRevision getRevision()
java.lang.String getNamespace()
getNamespace
in interface Capability
java.util.Map<java.lang.String,java.lang.String> getDirectives()
All capability directives not specified by the
wiring namespaces
have no specified
semantics and are considered extra user defined information.
getDirectives
in interface Capability
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes
in interface Capability
BundleRevision getResource()
This method returns the same value as getRevision()
.
getResource
in interface Capability
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0