org.apache.felix.framework.searchpolicy
Class R4Wire

java.lang.Object
  extended by org.apache.felix.framework.searchpolicy.R4Wire
All Implemented Interfaces:
IWire

public class R4Wire
extends java.lang.Object
implements IWire


Constructor Summary
R4Wire(IModule importer, IRequirement requirement, IModule exporter, ICapability capability)
           
 
Method Summary
 ICapability getCapability()
           
 java.lang.Class getClass(java.lang.String name)
           
 IModule getExporter()
           
 IModule getImporter()
           
 IRequirement getRequirement()
           
 java.net.URL getResource(java.lang.String name)
           
 java.util.Enumeration getResources(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

R4Wire

public R4Wire(IModule importer,
              IRequirement requirement,
              IModule exporter,
              ICapability capability)
Method Detail

getImporter

public IModule getImporter()
Specified by:
getImporter in interface IWire

getRequirement

public IRequirement getRequirement()
Specified by:
getRequirement in interface IWire

getExporter

public IModule getExporter()
Specified by:
getExporter in interface IWire

getCapability

public ICapability getCapability()
Specified by:
getCapability in interface IWire

getClass

public java.lang.Class getClass(java.lang.String name)
                         throws java.lang.ClassNotFoundException
Specified by:
getClass in interface IWire
Throws:
java.lang.ClassNotFoundException

getResource

public java.net.URL getResource(java.lang.String name)
                         throws ResourceNotFoundException
Specified by:
getResource in interface IWire
Throws:
ResourceNotFoundException

getResources

public java.util.Enumeration getResources(java.lang.String name)
                                   throws ResourceNotFoundException
Specified by:
getResources in interface IWire
Throws:
ResourceNotFoundException

toString

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