接口 BundleWire
-
- 所有超级接口:
Wire
- 所有已知实现类:
BundleWireImpl
@ProviderType public interface BundleWire extends Wire
A wire connecting aBundleCapabilityto aBundleRequirement.- 作者:
- $Id: f51255c8510d4b513dc2bb70c2274d9c51e9b9e5 $
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BundleCapabilitygetCapability()Returns theBundleCapabilityfor this wire.BundleRevisiongetProvider()Returns the resource providing thecapability.BundleWiringgetProviderWiring()Returns the bundle wiringprovidingthecapability.BundleRequirementgetRequirement()Return theBundleRequirementfor this wire.BundleRevisiongetRequirer()Returns the resource whorequiresthecapability.BundleWiringgetRequirerWiring()Returns the bundle wiring whorequiresthecapability.
-
-
-
方法详细资料
-
getCapability
BundleCapability getCapability()
Returns theBundleCapabilityfor this wire.- 指定者:
getCapability在接口中Wire- 返回:
- The
BundleCapabilityfor this wire.
-
getRequirement
BundleRequirement getRequirement()
Return theBundleRequirementfor this wire.- 指定者:
getRequirement在接口中Wire- 返回:
- The
BundleRequirementfor this wire.
-
getProviderWiring
BundleWiring getProviderWiring()
Returns the bundle wiringprovidingthecapability.The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the
capability.- 返回:
- The bundle wiring providing the capability. If the bundle wiring
providing the capability is not
in use,nullwill be returned.
-
getRequirerWiring
BundleWiring getRequirerWiring()
Returns the bundle wiring whorequiresthecapability.The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the
requirement.- 返回:
- The bundle wiring whose requirement is wired to the capability.
If the bundle wiring requiring the capability is not
in use,nullwill be returned.
-
getProvider
BundleRevision getProvider()
Returns the resource providing thecapability.The returned resource may differ from the resource referenced by the
capability.This method returns the same value as
getProviderWiring().getRevision().- 指定者:
getProvider在接口中Wire- 返回:
- The resource providing the capability.
- 从以下版本开始:
- 1.1
-
getRequirer
BundleRevision getRequirer()
Returns the resource whorequiresthecapability.The returned resource may differ from the resource referenced by the
requirement.This method returns the same value as
getRequirerWiring().getRevision().- 指定者:
getRequirer在接口中Wire- 返回:
- The resource who requires the capability.
- 从以下版本开始:
- 1.1
-
-