public class DesktopComponentScanner extends java.lang.Object implements ComponentScanner
ComponentScanner
Constructor and Description |
---|
DesktopComponentScanner()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class<?>> |
getPrototypeClasses() |
java.util.List<java.lang.Class<?>> |
getSingletonClasses() |
void |
scan(java.lang.String[] packageNames)
|
public void scan(java.lang.String[] packageNames) throws java.io.IOException
scan
in interface ComponentScanner
packageNames
- The package name to scan through, e.g. org.mini2Dx.componentjava.io.IOException
public java.util.List<java.lang.Class<?>> getSingletonClasses()
getSingletonClasses
in interface ComponentScanner
public java.util.List<java.lang.Class<?>> getPrototypeClasses()
getPrototypeClasses
in interface ComponentScanner