org.jboss.osgi.resolver
Interface XWire


public interface XWire

Wires a requirement to a capability.

Since:
02-Jul-2010
Author:
thomas.diesler@jboss.com

Method Summary
 XCapability getCapability()
          Returns the associated capability from the exporting module that satisfies the requirement of the importing module.
 XModule getExporter()
          Returns the exporting module.
 XModule getImporter()
          Returns the importing module.
 XRequirement getRequirement()
          Returns the associated requirement from the importing module that resulted in the creation of this wire.
 

Method Detail

getImporter

XModule getImporter()
Returns the importing module.

Returns:
The importing module.

getRequirement

XRequirement getRequirement()
Returns the associated requirement from the importing module that resulted in the creation of this wire.


getExporter

XModule getExporter()
Returns the exporting module.

Returns:
The exporting module.

getCapability

XCapability getCapability()
Returns the associated capability from the exporting module that satisfies the requirement of the importing module.



Copyright © 2012. All Rights Reserved.