org.osgi.framework.resource
Interface Wire

All Known Subinterfaces:
BundleWire

public interface Wire

A wire connecting a Capability to a Requirement.

Version:
$Id: 41ff1d01d23451a8c7493b138a4093dd21070c95 $

Method Summary
 Capability getCapability()
          Returns the Capability for this wire.
 Resource getProvider()
          Returns the resource providing the capability.
 Requirement getRequirement()
          Returns the Requirement for this wire.
 Resource getRequirer()
          Returns the resource who requires the capability.
 

Method Detail

getCapability

Capability getCapability()
Returns the Capability for this wire.

Returns:
The Capability for this wire.

getRequirement

Requirement getRequirement()
Returns the Requirement for this wire.

Returns:
The Requirement for this wire.

getProvider

Resource getProvider()
Returns the resource providing the capability.

The returned resource may differ from the resource referenced by the capability.

Returns:
The resource providing the capability.

getRequirer

Resource getRequirer()
Returns the resource who requires the capability.

The returned resource may differ from the resource referenced by the requirement.

Returns:
The resource who requires the capability.


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.