Examples of backgroundProcess()


Examples of org.apache.catalina.core.StandardHost.backgroundProcess()

        Context oldContext = (Context) host.findChild(APP_NAME.getName());
        StateTracker tracker = new StateTracker();
        oldContext.addLifecycleListener(tracker);

        // Trigger an auto-deployment cycle
        host.backgroundProcess();

        Context newContext = (Context) host.findChild(APP_NAME.getName());

        // Check the results
        if (resultXml) {
View Full Code Here

Examples of org.apache.catalina.core.StandardHost.backgroundProcess()

        host.setCopyXML(copyXML);
        host.setDeployXML(deployXML);

        // Deploy the files we copied
        tomcat.start();
        host.backgroundProcess();

        // Change the specified file
        switch (toAdd) {
            case XML:
                if (xml == null) {
View Full Code Here

Examples of org.apache.catalina.core.StandardHost.backgroundProcess()

        Context oldContext = (Context) host.findChild(APP_NAME.getName());
        StateTracker tracker = new StateTracker();
        oldContext.addLifecycleListener(tracker);

        // Trigger an auto-deployment cycle
        host.backgroundProcess();

        Context newContext = (Context) host.findChild(APP_NAME.getName());

        // Check the results
        if (resultXml) {
View Full Code Here

Examples of org.apache.catalina.core.StandardHost.backgroundProcess()

        }
        if (external) {
            createXmlInConfigBaseForExternal(war);
        }

        host.backgroundProcess();

        File dir = new File(host.getAppBase(), APP_NAME.getBaseName());
        Assert.assertEquals(
                Boolean.valueOf(resultDir), Boolean.valueOf(dir.isDirectory()));
    }
View Full Code Here

Examples of org.apache.catalina.core.StandardHost.backgroundProcess()

        }
        if (external) {
            createXmlInConfigBaseForExternal(war);
        }

        host.backgroundProcess();

        File xml = new File(host.getConfigBaseFile(),
                APP_NAME.getBaseName() + ".xml");
        Assert.assertEquals(
                Boolean.valueOf(resultXml), Boolean.valueOf(xml.isFile()));
View Full Code Here

Examples of org.apache.catalina.session.PersistentManagerBase.backgroundProcess()

            if (getManager() instanceof StandardManager) {
                ((StandardManager) getManager()).processExpires();
            } else if (getManager() instanceof PersistentManagerBase) {
                PersistentManagerBase pManager =
                    (PersistentManagerBase) getManager();
                pManager.backgroundProcess();
            }
        }

        if (getLoader() != null) {
            if (reloadable && (getLoader().modified())) {
View Full Code Here

Examples of org.huihoo.willow.Container.backgroundProcess()

          {
            if (container.getLoader() != null)
            {
              Thread.currentThread().setContextClassLoader(container.getLoader().getClassLoader());
            }
            container.backgroundProcess();
          }
          catch (Throwable t)
          {
            log.error("Exception invoking periodic operation: ", t);
          }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.JBossCacheManager.backgroundProcess()

     
      // Passivate
      Thread.sleep(1100);
     
      jbcm0.backgroundProcess();
      jbcm1.backgroundProcess();
     
      if (!notify)
      {
         validateNoNotifications(hsl0, hsal0, hsl1, hsal1);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.JBossCacheManager.backgroundProcess()

     
      // Passivate
      Thread.sleep(1100);
     
      jbcm0.backgroundProcess();
      jbcm1.backgroundProcess();
     
      if (!notify)
      {
         validateNoNotifications(hsl0, hsal0, hsl1, hsal1);
      }
View Full Code Here

Examples of org.jboss.web.tomcat.service.session.JBossCacheManager.backgroundProcess()

     
      // Passivate
      Thread.sleep(1100);
     
      jbcm0.backgroundProcess();
      jbcm1.backgroundProcess();
     
      if (!notify)
      {
         validateNoNotifications(hsl0, hsal0, hsl1, hsal1);
      }
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.