org.apache.felix.framework.searchpolicy
Class R4Wire
java.lang.Object
org.apache.felix.framework.searchpolicy.R4Wire
- All Implemented Interfaces:
- IWire
public class R4Wire
- extends Object
- implements IWire
R4Wire
public R4Wire(IModule importer,
IRequirement requirement,
IModule exporter,
ICapability capability)
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.