Package dbfit.annotations

Examples of dbfit.annotations.DatabaseEnvironment.driver()


    private void initDefaultEnvironments() {
        Reflections reflections = new Reflections("dbfit");
        for (Class<?> c: reflections.getTypesAnnotatedWith(DatabaseEnvironment.class)) {
            DatabaseEnvironment envAnnotation =
                c.getAnnotation(DatabaseEnvironment.class);
            registerEnv(envAnnotation.name(), envAnnotation.driver());
        }
    }

    private static DBEnvironment environment;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.