org.apache.felix.framework.wiring
Class BundleWireImpl

java.lang.Object
  extended by org.apache.felix.framework.wiring.BundleWireImpl
All Implemented Interfaces:
BundleWire

public class BundleWireImpl
extends java.lang.Object
implements BundleWire


Constructor Summary
BundleWireImpl(BundleRevision requirer, BundleRequirement req, BundleRevision provider, BundleCapability cap)
           
 
Method Summary
 BundleCapability getCapability()
          Returns the BundleCapability for this wire.
 BundleRevision getProvider()
           
 BundleWiring getProviderWiring()
          Returns the bundle wiring providing the capability.
 BundleRequirement getRequirement()
          Return the BundleRequirement for this wire.
 BundleRevision getRequirer()
           
 BundleWiring getRequirerWiring()
          Returns the bundle wiring who requires the capability.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleWireImpl

public BundleWireImpl(BundleRevision requirer,
                      BundleRequirement req,
                      BundleRevision provider,
                      BundleCapability cap)
Method Detail

getRequirer

public BundleRevision getRequirer()

getRequirerWiring

public BundleWiring getRequirerWiring()
Description copied from interface: BundleWire
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.

Specified by:
getRequirerWiring in interface BundleWire
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.

getRequirement

public BundleRequirement getRequirement()
Description copied from interface: BundleWire
Return the BundleRequirement for this wire.

Specified by:
getRequirement in interface BundleWire
Returns:
The BundleRequirement for this wire.

getProvider

public BundleRevision getProvider()

getProviderWiring

public BundleWiring getProviderWiring()
Description copied from interface: BundleWire
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.

Specified by:
getProviderWiring in interface BundleWire
Returns:
The bundle wiring providing the capability. If the bundle wiring providing the capability is not in use, null will be returned.

getCapability

public BundleCapability getCapability()
Description copied from interface: BundleWire
Returns the BundleCapability for this wire.

Specified by:
getCapability in interface BundleWire
Returns:
The BundleCapability for this wire.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012. All Rights Reserved.