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