All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.fortnox.reactivewizard.binding.scanners.ConfigClassScanner Maven / Gradle / Ivy

There is a newer version: 24.6.0
Show newest version
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