|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.utils.ClassFinder
public class ClassFinder
Type description.
Constructor Summary | |
---|---|
ClassFinder(java.lang.Class<?> iface)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.Object[] |
createInstances()
Gets an array of instances of all discovered classes, that can be instantiated using a default unary constructor. |
void |
findClasses(java.lang.String resourceName)
Gets the list of classes discovered through resource discovery. |
java.lang.Class<?>[] |
getClasses()
Gets an array of all discovered classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassFinder(java.lang.Class<?> iface)
iface
- The interface all found classes must implementMethod Detail |
---|
public void findClasses(java.lang.String resourceName)
resourceName
- The name of the resources containing class listspublic java.lang.Class<?>[] getClasses()
public java.lang.Object[] createInstances()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |