Package com.suncode.pwfl.component
Class AnnotatedComponentDiscovery
java.lang.Object
com.suncode.pwfl.component.AnnotatedComponentDiscovery
- All Implemented Interfaces:
ComponentDiscovery
- Direct Known Subclasses:
FunctionsDiscovery
Strategy to search classes with given annotation using Spring library.
- Author:
- RafaĆ Nowacki 16 gru 2015
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedComponentDiscovery
(org.springframework.core.io.ResourceLoader resourceLoader, Class<? extends Annotation>... annotations) -
Method Summary
Modifier and TypeMethodDescriptionSearching all classes with component definition.void
setBasePackage
(String basePackage)
-
Constructor Details
-
AnnotatedComponentDiscovery
public AnnotatedComponentDiscovery(org.springframework.core.io.ResourceLoader resourceLoader, Class<? extends Annotation>... annotations)
-
-
Method Details
-
setBasePackage
-
discoverComponentsClasses
Description copied from interface:ComponentDiscovery
Searching all classes with component definition.- Specified by:
discoverComponentsClasses
in interfaceComponentDiscovery
- Returns:
- found classes with component definition
-