@Override
  public void contextInitialized(ServletContextEvent servletContextEvent) {

    String confPath =
        servletContextEvent.getServletContext().getInitParameter("lts.admin.config.path");

    if (StringUtils.isNotEmpty(confPath)) {
      System.out.println("lts.admin.config.path : " + confPath);
    }
    AppConfigurer.load(confPath);
    //  log4j 配置文件路径
    if (StringUtils.isNotEmpty(confPath)) {
      PropertyConfigurator.configure(confPath + "/log4j.properties");
    }
  }
 public static void setJSONAdapter(String jsonAdapter) {
   if (StringUtils.isNotEmpty(jsonAdapter)) {
     setJSONAdapter(ServiceLoader.load(JSONAdapter.class, jsonAdapter));
   }
 }