Package org.jtester.module.spring

Examples of org.jtester.module.spring.JTesterSpringContext.refresh()


    String[] locations = annotation.value();
    boolean ignoreNoSuchBean = annotation.ignoreNoSuchBean();
    JTesterSpringContext context = contextFactory.createApplicationContext(Arrays.asList(locations),
        ignoreNoSuchBean);

    context.refresh();
    long duration = System.currentTimeMillis() - startTime;
    JTesterLogger.warn(String.format("take %d ms to init spring context for test obejct[%s]", duration,
        testClazz.getName()));

    beanFactory = context.getJTesterBeanFactory();
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.