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

se.fortnox.reactivewizard.binding.scanners.JaxRsClassScanner 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 javax.ws.rs.Path;

@Singleton
public class JaxRsClassScanner extends AbstractClassScanner {
    @Override
    public void visit(ClassScanner classScanner) {
        classScanner.findClassesAnnotatedWith(Path.class).forEach(cls -> {
            if (cls.isInterface()) {
                add(cls);
            }
        });
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy