io.sbk.api.RWLoggerPackage Maven / Gradle / Ivy
/**
* Copyright (c) KMG. All Rights Reserved..
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package io.sbk.api;
import io.sbk.logger.RWLogger;
import org.reflections.Reflections;
import java.util.Set;
public final class RWLoggerPackage extends Package {
public RWLoggerPackage(String packageName) {
super(packageName);
}
@Override
public Set> getClasses(String packageName) {
final Reflections reflections = new Reflections(packageName);
return reflections.getSubTypesOf(RWLogger.class);
}
}