AutoScannerDSL

class AutoScannerDSL(classLoader: ClassLoader, limitTo: List<String>)

Constructors

Link copied to clipboard
constructor(classLoader: ClassLoader, limitTo: List<String>)

Functions

Link copied to clipboard
fun all()

Automatically scans for all annotated components

Link copied to clipboard

Registers serializers for Components.

Link copied to clipboard
inline fun <T : Any> subClassesOf()

fun <T : Any> subClassesOf(kClass: KClass<T>)

Registers a polymorphic serializer for this kClass, scanning for any subclasses.

Link copied to clipboard
fun systems()

Registers any systems (including event listeners) that are annotated with AutoScanner.