changed the route to find the verb resolver classes
This commit is contained in:
parent
7687519f00
commit
7387f3449a
|
@ -22,12 +22,12 @@ public class VerbResolver implements Serializable {
|
||||||
.verbose() // If you want to enable logging to stderr
|
.verbose() // If you want to enable logging to stderr
|
||||||
.enableAllInfo() // Scan classes, methods, fields, annotations
|
.enableAllInfo() // Scan classes, methods, fields, annotations
|
||||||
.whitelistPackages(
|
.whitelistPackages(
|
||||||
"eu.dnetlib.dhp.selectioncriteria") // Scan com.xyz and subpackages
|
"eu.dnetlib.dhp.bulktag.criteria") // Scan com.xyz and subpackages
|
||||||
.scan()) { // Perform the scan and return a ScanResult
|
.scan()) { // Perform the scan and return a ScanResult
|
||||||
|
|
||||||
ClassInfoList routeClassInfoList = scanResult
|
ClassInfoList routeClassInfoList = scanResult
|
||||||
.getClassesWithAnnotation(
|
.getClassesWithAnnotation(
|
||||||
"eu.dnetlib.dhp.selectioncriteria.VerbClass");
|
"eu.dnetlib.dhp.bulktag.criteria.VerbClass");
|
||||||
|
|
||||||
this.map = routeClassInfoList
|
this.map = routeClassInfoList
|
||||||
.stream()
|
.stream()
|
||||||
|
|
Loading…
Reference in New Issue