io.vertx.up.uca.web.origin.WorkerInquirer Maven / Gradle / Ivy
package io.vertx.up.uca.web.origin;
import io.vertx.up.annotations.Worker;
import java.util.Set;
import java.util.stream.Collectors;
/**
*
*/
public class WorkerInquirer implements Inquirer>> {
@Override
public Set> scan(final Set> classes) {
return classes.stream()
.filter((item) -> item.isAnnotationPresent(Worker.class))
.collect(Collectors.toSet());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy