@Override protected void deployApps() { super.deployApps(); }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } deployApps(name); }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = (DeployedApplication) deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific webapp, for use with stuff like management webapps. */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app); } else { deployApps(name); } }
/** * Check status of a specific web application and reload, redeploy or deploy * it as necessary. This method is for use with functionality such as * management web applications that upload new/updated web applications and * need to trigger the appropriate action to deploy them. This method * assumes that the web application is currently marked as serviced and that * any uploading/updating has been completed before this method is called. * Any action taken as a result of the checks will complete before this * method returns. * * @param name The name of the web application to check */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app, true); } deployApps(name); }
/** * Check status of a specific web application and reload, redeploy or deploy * it as necessary. This method is for use with functionality such as * management web applications that upload new/updated web applications and * need to trigger the appropriate action to deploy them. This method * assumes that the web application is currently marked as serviced and that * any uploading/updating has been completed before this method is called. * Any action taken as a result of the checks will complete before this * method returns. * * @param name The name of the web application to check */ public void check(String name) { DeployedApplication app = deployed.get(name); if (app != null) { checkResources(app, true); } deployApps(name); }
/** * Process a "start" event for this Host. */ public void start() { if (log.isLoggable(Level.FINE)) log.log(Level.FINE, LogFacade.PROCESSING_START); if (host.getDeployOnStartup()) { deployApps(); } else { // Deploy descriptors anyway (it should be equivalent to being // part of server.xml) File configBase = configBase(); if (configBase.exists() && configBase.isDirectory()) { String configFiles[] = configBase.list(); deployDescriptors(configBase, configFiles); } } }
/** * Deploy webapps. */ protected void check() { if (host.getAutoDeploy()) { // Deploy apps if the Host allows auto deploying deployApps(); // Check for web.xml modification checkContextLastModified(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = (DeployedApplication[]) deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Hotdeploy applications deployApps(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Hotdeploy applications deployApps(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Hotdeploy applications deployApps(); } }
/** * Process a "start" event for this Host. */ public void start() { if (log.isDebugEnabled()) log.debug(sm.getString("hostConfig.start")); try { ObjectName hostON = new ObjectName(host.getObjectName()); oname = new ObjectName (hostON.getDomain() + ":type=Deployer,host=" + host.getName()); Registry.getRegistry(null, null).registerComponent (this, oname, this.getClass().getName()); } catch (Exception e) { log.error(sm.getString("hostConfig.jmx.register", oname), e); } if (host.getDeployOnStartup()) deployApps(); }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Hotdeploy applications deployApps(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Hotdeploy applications deployApps(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i], false); } // Check for old versions of applications that can now be undeployed if (host.getUndeployOldVersions()) { checkUndeploy(); } // Hotdeploy applications deployApps(); } }
/** * Check status of all webapps. */ protected void check() { if (host.getAutoDeploy()) { // Check for resources modification to trigger redeployment DeployedApplication[] apps = deployed.values().toArray(new DeployedApplication[0]); for (int i = 0; i < apps.length; i++) { if (!isServiced(apps[i].name)) checkResources(apps[i]); } // Check for old versions of applications that can now be undeployed if (host.getUndeployOldVersions()) { checkUndeploy(); } // Hotdeploy applications deployApps(); } }