public class IOSComponentScanner
extends java.lang.Object
implements org.mini2Dx.core.di.ComponentScanner
ComponentScanner| Constructor and Description |
|---|
IOSComponentScanner()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.badlogic.gdx.utils.Array<java.lang.Class<?>> |
getPrototypeClasses() |
com.badlogic.gdx.utils.Array<java.lang.Class<?>> |
getSingletonClasses() |
void |
scan(java.lang.String[] packageNames)
Scans multiple packages recursively for
Singleton and
Prototype annotated classes |
public void scan(java.lang.String[] packageNames)
throws java.io.IOException
Singleton and
Prototype annotated classesscan in interface org.mini2Dx.core.di.ComponentScannerpackageNames - The package name to scan through, e.g. org.mini2Dx.componentjava.io.IOExceptionpublic com.badlogic.gdx.utils.Array<java.lang.Class<?>> getSingletonClasses()
getSingletonClasses in interface org.mini2Dx.core.di.ComponentScannerpublic com.badlogic.gdx.utils.Array<java.lang.Class<?>> getPrototypeClasses()
getPrototypeClasses in interface org.mini2Dx.core.di.ComponentScanner