类 BundleWireImpl
- java.lang.Object
-
- org.apache.felix.framework.wiring.BundleWireImpl
-
- 所有已实现的接口:
BundleWire,Wire
public class BundleWireImpl extends java.lang.Object implements BundleWire
-
-
构造器概要
构造器 构造器 说明 BundleWireImpl(BundleRevision requirer, BundleRequirement req, BundleRevision provider, BundleCapability cap)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.java.lang.StringtoString()
-
-
-
构造器详细资料
-
BundleWireImpl
public BundleWireImpl(BundleRevision requirer, BundleRequirement req, BundleRevision provider, BundleCapability cap)
-
-
方法详细资料
-
getRequirer
public BundleRevision getRequirer()
从接口复制的说明:BundleWireReturns the resource whorequiresthecapability.The returned resource may differ from the resource referenced by the
requirement.This method returns the same value as
BundleWire.getRequirerWiring().getRevision().- 指定者:
getRequirer在接口中BundleWire- 指定者:
getRequirer在接口中Wire- 返回:
- The resource who requires the capability.
-
getRequirerWiring
public BundleWiring getRequirerWiring()
从接口复制的说明:BundleWireReturns the bundle wiring whorequiresthecapability.The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the
requirement.- 指定者:
getRequirerWiring在接口中BundleWire- 返回:
- The bundle wiring whose requirement is wired to the capability.
If the bundle wiring requiring the capability is not
in use,nullwill be returned.
-
getRequirement
public BundleRequirement getRequirement()
从接口复制的说明:BundleWireReturn theBundleRequirementfor this wire.- 指定者:
getRequirement在接口中BundleWire- 指定者:
getRequirement在接口中Wire- 返回:
- The
BundleRequirementfor this wire.
-
getProvider
public BundleRevision getProvider()
从接口复制的说明:BundleWireReturns the resource providing thecapability.The returned resource may differ from the resource referenced by the
capability.This method returns the same value as
BundleWire.getProviderWiring().getRevision().- 指定者:
getProvider在接口中BundleWire- 指定者:
getProvider在接口中Wire- 返回:
- The resource providing the capability.
-
getProviderWiring
public BundleWiring getProviderWiring()
从接口复制的说明:BundleWireReturns the bundle wiringprovidingthecapability.The bundle revision referenced by the returned bundle wiring may differ from the bundle revision referenced by the
capability.- 指定者:
getProviderWiring在接口中BundleWire- 返回:
- The bundle wiring providing the capability. If the bundle wiring
providing the capability is not
in use,nullwill be returned.
-
getCapability
public BundleCapability getCapability()
从接口复制的说明:BundleWireReturns theBundleCapabilityfor this wire.- 指定者:
getCapability在接口中BundleWire- 指定者:
getCapability在接口中Wire- 返回:
- The
BundleCapabilityfor this wire.
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-