se.fortnox.reactivewizard.binding.scanners.ConfigClassScanner Maven / Gradle / Ivy
package se.fortnox.reactivewizard.binding.scanners;
import jakarta.inject.Singleton;
import se.fortnox.reactivewizard.config.Config;
/**
* Finds all classes annotated with @{@link Config}.
*/
@Singleton
public class ConfigClassScanner extends AbstractClassScanner {
@Override
public void visit(ClassScanner classScanner) {
classScanner.findClassesAnnotatedWith(Config.class).forEach(this::add);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy