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 Object
implements IWire


Constructor Summary
R4Wire(IModule importer, IRequirement requirement, IModule exporter, ICapability capability)
           
 
Method Summary
 ICapability getCapability()
           
 Class getClass(String name)
           
 IModule getExporter()
           
 IModule getImporter()
           
 IRequirement getRequirement()
           
 URL getResource(String name)
           
 Enumeration getResources(String name)
           
 boolean hasPackage(String pkgName)
           
 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

hasPackage

public boolean hasPackage(String pkgName)
Specified by:
hasPackage in interface IWire

getClass

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

getResource

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

getResources

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.