com.xebialabs.deployit.plugin.tomcat.runbook
Class TomcatDeploymentRunBook
java.lang.Object
com.xebialabs.deployit.util.SingleTypeHandlingRunBook<com.xebialabs.deployit.ci.Deployment>
com.xebialabs.deployit.plugin.tomcat.runbook.TomcatDeploymentRunBook
- All Implemented Interfaces:
- com.xebialabs.deployit.RunBook
public class TomcatDeploymentRunBook
- extends com.xebialabs.deployit.util.SingleTypeHandlingRunBook<com.xebialabs.deployit.ci.Deployment>
Supports the deployment, re-deployment and undeployment of an
Application Package to a
Tomcat Servlet Container.
Conditions
Will trigger if the change plan contains the addition, modification or
deletion of a Deployment CI to an
Environment CI which contains
Tomcat middleware CI's.
Note that Additions, Modifications and Deletions are always handled in one
single flow.
Actions
- Undeploy
war from
Tomcat Server
- Deploy
war from
JBoss
Application Server
| Methods inherited from class com.xebialabs.deployit.util.SingleTypeHandlingRunBook |
resolve |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatDeploymentRunBook
public TomcatDeploymentRunBook()
resolve
protected void resolve(com.xebialabs.deployit.Change<com.xebialabs.deployit.ci.Deployment> change,
com.xebialabs.deployit.ChangePlan changePlan,
java.util.List<com.xebialabs.deployit.Step> steps)
- Specified by:
resolve in class com.xebialabs.deployit.util.SingleTypeHandlingRunBook<com.xebialabs.deployit.ci.Deployment>
checkForServerConfigurationErrors
private void checkForServerConfigurationErrors(java.util.Set<TomcatServer> affectedServers)
isTomcatDeployment
private boolean isTomcatDeployment(WarToTomcatServerMapper warToServerMapper)
stopServers
private void stopServers(java.util.Set<TomcatServer> servers,
java.util.List<com.xebialabs.deployit.Step> steps)
startServers
private void startServers(java.util.Set<TomcatServer> servers,
java.util.List<com.xebialabs.deployit.Step> steps)
Copyright © 2010. All Rights Reserved.