接口 BundleCapability
-
- 所有超级接口:
Capability
- 所有已知子接口:
HostedCapability
- 所有已知实现类:
BundleCapabilityImpl,WrappedCapability
@ProviderType public interface BundleCapability extends Capability
A capability that has been declared from abundle revision.- 作者:
- $Id: 834fb5779fb3c1b1b16ab25ffa4ab97a131b1262 $
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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.StringgetNamespace()Returns the namespace of this capability.BundleRevisiongetResource()Returns the resource declaring this capability.BundleRevisiongetRevision()Returns the bundle revision declaring this capability.-
从接口继承的方法 org.osgi.resource.Capability
equals, hashCode
-
-
-
-
方法详细资料
-
getRevision
BundleRevision getRevision()
Returns the bundle revision declaring this capability.- 返回:
- The bundle revision declaring this capability.
-
getNamespace
java.lang.String getNamespace()
Returns the namespace of this capability.- 指定者:
getNamespace在接口中Capability- 返回:
- The namespace of this capability.
-
getDirectives
java.util.Map<java.lang.String,java.lang.String> getDirectives()
Returns the directives of this capability.All capability directives not specified by the
wiring namespaceshave no specified semantics and are considered extra user defined information.- 指定者:
getDirectives在接口中Capability- 返回:
- An unmodifiable map of directive names to directive values for this capability, or an empty map if this capability has no directives.
-
getAttributes
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Returns the attributes of this capability.- 指定者:
getAttributes在接口中Capability- 返回:
- An unmodifiable map of attribute names to attribute values for this capability, or an empty map if this capability has no attributes.
-
getResource
BundleRevision getResource()
Returns the resource declaring this capability.This method returns the same value as
getRevision().- 指定者:
getResource在接口中Capability- 返回:
- The resource declaring this capability.
- 从以下版本开始:
- 1.1
-
-