Class WebLogic9x10x12x14xCopyingInstalledLocalDeployer

  • All Implemented Interfaces:
    org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable

    public class WebLogic9x10x12x14xCopyingInstalledLocalDeployer
    extends org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
    Static deployer that deploys WARs to the WebLogic auto-deploy directory. EARs and RARs are not supported, yet.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDeployableDir​(org.codehaus.cargo.container.deployable.Deployable deployable)
      .
      protected String getDeployableName​(org.codehaus.cargo.container.deployable.Deployable deployable)
      .
      void undeploy​(org.codehaus.cargo.container.deployable.Deployable deployable)
      Removes previously deployed artifact.
      • Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer

        canBeDeployed, deploy, doDeploy, setShouldDeployExpanded, shouldDeployExpanded
      • Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer

        getType
      • Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer

        getContainer, getFileHandler
      • Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer

        deploy, deploy, redeploy, redeploy, redeploy, start, start, stop, stop, undeploy
      • Methods inherited from class org.codehaus.cargo.util.log.LoggedObject

        getLogger, setLogger
      • Methods inherited from interface org.codehaus.cargo.util.log.Loggable

        getLogger, setLogger
    • Constructor Detail

      • WebLogic9x10x12x14xCopyingInstalledLocalDeployer

        public WebLogic9x10x12x14xCopyingInstalledLocalDeployer​(org.codehaus.cargo.container.LocalContainer container)
        See Also:
        AbstractCopyingInstalledLocalDeployer(org.codehaus.cargo.container.LocalContainer)
    • Method Detail

      • getDeployableDir

        public String getDeployableDir​(org.codehaus.cargo.container.deployable.Deployable deployable)
        . For WebLogic container the target is the auto-deploy directory.
        Specified by:
        getDeployableDir in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
      • getDeployableName

        protected String getDeployableName​(org.codehaus.cargo.container.deployable.Deployable deployable)
        . We override the base implementation because WebLogic requires that expanded WAR directories to end with .war so we have to rename the expanded WAR directory. See the WebLogic documentation for Exploded Archive Directories.
        Overrides:
        getDeployableName in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
      • undeploy

        public void undeploy​(org.codehaus.cargo.container.deployable.Deployable deployable)
        Removes previously deployed artifact.
        Specified by:
        undeploy in interface org.codehaus.cargo.container.deployer.Deployer
        Overrides:
        undeploy in class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
        Parameters:
        deployable - artifact to undeploy