Class ClasspathComponentScanner
- java.lang.Object
-
- io.streamthoughts.azkarra.streams.components.ClasspathComponentScanner
-
public class ClasspathComponentScanner extends Object
TheClasspathComponentScanner
class can be used used to scan the classpath for automatically registering declared classes annotated withComponent
andComponentFactory
classes.
-
-
Constructor Summary
Constructors Constructor Description ClasspathComponentScanner(ComponentClassReader reader, ComponentRegistry registry)
Creates a newClasspathComponentScanner
instance.
-
-
-
Constructor Detail
-
ClasspathComponentScanner
public ClasspathComponentScanner(ComponentClassReader reader, ComponentRegistry registry)
Creates a newClasspathComponentScanner
instance.- Parameters:
reader
- theDefaultProviderClassReader
used to register providers.
-
-
Method Detail
-
scan
public void scan()
-
scan
public void scan(Package source)
-
-