|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.framework.searchpolicy.R4WireModule
public class R4WireModule
Constructor Summary | |
---|---|
R4WireModule(IModule importer,
IRequirement requirement,
IModule exporter,
ICapability capability,
java.util.Map pkgMap)
|
Method Summary | |
---|---|
ICapability |
getCapability()
Returns the associated capability from the exporting module that satisfies the requirement of the importing module. |
java.lang.Class |
getClass(java.lang.String name)
Requests a class from the exporting module. |
IModule |
getExporter()
Returns the exporting module. |
IModule |
getImporter()
Returns the importing module. |
IRequirement |
getRequirement()
Returns the associated requirement from the importing module that resulted in the creation of this wire. |
java.net.URL |
getResource(java.lang.String name)
Requests a resource from the exporting module. |
java.util.Enumeration |
getResources(java.lang.String name)
Requests resources from the exporting module. |
boolean |
hasPackage(java.lang.String pkgName)
Returns whether or not the wire has a given package name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public R4WireModule(IModule importer, IRequirement requirement, IModule exporter, ICapability capability, java.util.Map pkgMap)
Method Detail |
---|
public IModule getImporter()
IWire
getImporter
in interface IWire
public IRequirement getRequirement()
IWire
getRequirement
in interface IWire
public IModule getExporter()
IWire
getExporter
in interface IWire
public ICapability getCapability()
IWire
getCapability
in interface IWire
public boolean hasPackage(java.lang.String pkgName)
IWire
hasPackage
in interface IWire
public java.lang.Class getClass(java.lang.String name) throws java.lang.ClassNotFoundException
IWire
getClass
in interface IWire
java.lang.ClassNotFoundException
- If the class was not found and
the search should be aborted.public java.net.URL getResource(java.lang.String name) throws ResourceNotFoundException
IWire
getResource
in interface IWire
ResourceNotFoundException
- If the resource was not found and
the search should be aborted.public java.util.Enumeration getResources(java.lang.String name) throws ResourceNotFoundException
IWire
getResources
in interface IWire
ResourceNotFoundException
- If the resource was not found and
the search should be aborted.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |