|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.limitless.util.GroupClassLoader.Worker
private static class GroupClassLoader.Worker
Objects of this class will populate the destination list.
| Field Summary | |
|---|---|
private java.util.List |
destination
Where to drop the Class objects that have the expected interface. |
private static org.apache.log4j.Logger |
logger
Log4J Logger for the class |
private java.lang.String |
packageName
This holds the package portion that is pre-pended to each name before loading. |
private java.lang.Class |
targetClass
The class object we're using to test for presence. |
| Constructor Summary | |
|---|---|
GroupClassLoader.Worker(java.util.List destination,
java.lang.String packageName,
java.lang.Class targetClass)
|
|
| Method Summary | |
|---|---|
void |
process(java.io.File target)
Load the class and add it to the list if the class implements the target interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static org.apache.log4j.Logger logger
private java.lang.String packageName
private java.util.List destination
private java.lang.Class targetClass
| Constructor Detail |
|---|
public GroupClassLoader.Worker(java.util.List destination,
java.lang.String packageName,
java.lang.Class targetClass)
| Method Detail |
|---|
public void process(java.io.File target)
process in interface FileVisitor.Worker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||