Examples of ContextInitializer


Examples of ch.qos.logback.classic.util.ContextInitializer

   * Package access for testing purposes.
   */
  void init() {
    try {
      try {
        new ContextInitializer(defaultLoggerContext).autoConfig();
      } catch (JoranException je) {
        Util.report("Failed to auto configure default logger context", je);
      }
      StatusPrinter.printInCaseOfErrorsOrWarnings(defaultLoggerContext);
      contextSelectorBinder.init(defaultLoggerContext, KEY);
View Full Code Here

Examples of ch.qos.logback.classic.util.ContextInitializer

    }
    return false;
  }

  public void reloadDefaultConfiguration() throws JoranException {
    ContextInitializer ci = new ContextInitializer(loggerContext);
    URL url = ci.findURLOfDefaultConfigurationFile(true);
    reloadByURL(url);
  }
View Full Code Here

Examples of ch.qos.logback.classic.util.ContextInitializer

    }
    return false;
  }

  public void reloadDefaultConfiguration() throws JoranException {
    ContextInitializer ci = new ContextInitializer(loggerContext);
    URL url = ci.findURLOfDefaultConfigurationFile(true);
    reloadByURL(url);
  }
View Full Code Here

Examples of com.esri.ontology.service.control.ContextInitializer

        locale = l;
        break;
      }
    }

    ContextInitializer initializer = new ContextInitializer(ontCtx,
      categoriesFilePath, gemetFilePath);
    initializer.initialize();

  }
View Full Code Here

Examples of com.esri.ontology.service.control.ContextInitializer

      getResource(gemetFilePath);

    Context context = new Context();
    context.update(getServletContext());

    ContextInitializer contextInitializer =
      new ContextInitializer(context, categoriesFileUrl.toString(),
      gemetFileUrl.toString());

    contextInitializer.initialize();
  }
View Full Code Here

Examples of org.picketlink.idm.spi.ContextInitializer

            configureEntities();
        } catch (Exception e) {
            throw ROOT_LOGGER.idmJpaStartFailed(e);
        }

        this.configurationBuilder.addContextInitializer(new ContextInitializer() {
            @Override
            public void initContextForStore(IdentityContext context, IdentityStore<?> store) {
                if (store instanceof JPAIdentityStore) {
                    EntityManager entityManager = context.getParameter(JPAIdentityStore.INVOCATION_CTX_ENTITY_MANAGER);
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.