public class AndroidComponentScanner extends java.lang.Object implements ComponentScanner
ComponentScanner
Constructor and Description |
---|
AndroidComponentScanner(android.content.Context applicationContext) |
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 AndroidComponentScanner(android.content.Context applicationContext)
public void scan(java.lang.String[] packageNames) throws java.io.IOException
ComponentScanner
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