org.osgi.framework.wiring
Interface BundleWire

All Known Implementing Classes:
BundleWireImpl

public interface BundleWire

A wire connecting a BundleCapability to a BundleRequirement.

Version:
$Id: 4f936a84065762ec3267a44f86ae01b0150e44ce $

Method Summary
 BundleCapability getCapability()
          Returns the BundleCapability for this wire.
 BundleWiring getProviderWiring()
          Returns the bundle wiring providing the capability.
 BundleRequirement getRequirement()
          Return the BundleRequirement for this wire.
 BundleWiring getRequirerWiring()
          Returns the bundle wiring who requires the capability.
 

Method Detail

getCapability

BundleCapability getCapability()
Returns the BundleCapability for this wire.

Returns:
The BundleCapability for this wire.

getRequirement

BundleRequirement getRequirement()
Return the BundleRequirement for this wire.

Returns:
The BundleRequirement for this wire.

getProviderWiring

BundleWiring getProviderWiring()
Returns the bundle wiring providing the capability.

The bundle revision referenced by the returned bundle wiring may differ from the bundle revision reference by the capability.

Returns:
The bundle wiring providing the capability. If the bundle wiring providing the capability is not in use, null will be returned.

getRequirerWiring

BundleWiring getRequirerWiring()
Returns the bundle wiring who requires the capability.

The bundle revision referenced by the returned bundle wiring may differ from the bundle revision reference by the requirement.

Returns:
The bundle wiring whose requirement is wired to the capability. If the bundle wiring requiring the capability is not in use, null will be returned.


Copyright © 2012. All Rights Reserved.