Package com.firefly.mvc.web

Examples of com.firefly.mvc.web.WebContext


    start(config);
  }
 
  public static void start(Config config) {
    long start = System.currentTimeMillis();
    WebContext context = new ServerAnnotationWebContext(config);
    try {
      Config c = context.getBean(Config.class);
      init(context, c == null ? config : c);
    } catch (Throwable e) {
      log.error("firefly init error", e);
    }
    long end = System.currentTimeMillis();
View Full Code Here


    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));
View Full Code Here

TOP

Related Classes of com.firefly.mvc.web.WebContext

Copyright © 2018 www.massapicom. 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.