com.xebialabs.deployit.plugin.jbossas.runbook
Class JbossasDeploymentRunBook

java.lang.Object
  extended by com.xebialabs.deployit.util.SingleTypeHandlingRunBook<com.xebialabs.deployit.ci.Deployment>
      extended by com.xebialabs.deployit.plugin.jbossas.runbook.JbossasDeploymentRunBook
All Implemented Interfaces:
com.xebialabs.deployit.RunBook

public class JbossasDeploymentRunBook
extends com.xebialabs.deployit.util.SingleTypeHandlingRunBook<com.xebialabs.deployit.ci.Deployment>

Supports the deployment, re-deployment and undeployment of an Application Package to a JBoss Application Server.

Conditions

Will trigger if the change plan contains the addition, modification or deletion of a Deployment CI to an Environment CI which contains JBoss middleware CI's. Note that Additions, Modifications and Deletions are always handled in one single flow.

Actions

  1. Undeploy EARs from JBoss Application Server
  2. Undeploy WARs from JBoss Application Server
  3. Destroy JBoss resources from JBoss Application Server
  4. Deploy EARs to JBoss Application Server
  5. Deploy WARs to JBoss Application Server
  6. Create JBoss resources from JBoss Application Server
  7. Undeploy Libraries from Host
  8. Undeploy ConfigurationFiles from Host
  9. Deploy Libraries on Host
  10. Deploy ConfigurationFiles on Host


Constructor Summary
JbossasDeploymentRunBook()
           
 
Method Summary
private  boolean isJbossasDeployment(WarToJbossasServerMapper warToServerMapper, EarToJbossasServerMapper earToServerMapper, JbossasDataSourceToJbossasServerMapper dataSourceToServerMapper, JbossasQueueToJbossasServerMapper queueToServerMapper, JbossasTopicToJbossasServerMapper topicToServerMapper)
           
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)
           
private  void restartServers(java.util.Set<JbossasServer> servers, java.util.List<com.xebialabs.deployit.Step> steps)
           
 
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
 

Constructor Detail

JbossasDeploymentRunBook

public JbossasDeploymentRunBook()
Method Detail

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>

isJbossasDeployment

private boolean isJbossasDeployment(WarToJbossasServerMapper warToServerMapper,
                                    EarToJbossasServerMapper earToServerMapper,
                                    JbossasDataSourceToJbossasServerMapper dataSourceToServerMapper,
                                    JbossasQueueToJbossasServerMapper queueToServerMapper,
                                    JbossasTopicToJbossasServerMapper topicToServerMapper)

restartServers

private void restartServers(java.util.Set<JbossasServer> servers,
                            java.util.List<com.xebialabs.deployit.Step> steps)


Copyright © 2010. All Rights Reserved.