* @param scanner the scanner.
*/
public void init(final Scanner scanner) {
this.scanner = scanner;
final AnnotationScannerListener asl = new PathProviderScannerListener();
scanner.scan(asl);
getClasses().addAll(asl.getAnnotatedClasses());
if (LOGGER.isLoggable(Level.INFO) && !getClasses().isEmpty()) {
final Set<Class> rootResourceClasses = get(Path.class);
if (rootResourceClasses.isEmpty()) {
LOGGER.log(Level.INFO, "No root resource classes found.");