log.info("firefly startup in {} ms", (end - start));
}
public static void start(String configFileName) {
long start = System.currentTimeMillis();
WebContext context = new ServerAnnotationWebContext(configFileName);
try {
init(context, context.getBean(Config.class));
} catch (Throwable e) {
log.error("firefly init error", e);
}
long end = System.currentTimeMillis();
log.info("firefly startup in {} ms", (end - start));