1 17 package org.apache.geronimo.deployment.plugin.remote; 18 19 import org.apache.geronimo.kernel.Kernel; 20 21 import javax.enterprise.deploy.spi.TargetModuleID ; 22 import java.io.File ; 23 import java.io.InputStream ; 24 25 31 public class RedeployCommand extends org.apache.geronimo.deployment.plugin.local.RedeployCommand { 32 public RedeployCommand(Kernel kernel, TargetModuleID [] moduleIDList, File moduleArchive, File deploymentPlan) { 33 super(kernel, moduleIDList, moduleArchive, deploymentPlan); 34 } 35 36 public RedeployCommand(Kernel kernel, TargetModuleID [] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) { 37 super(kernel, moduleIDList, moduleArchive, deploymentPlan); 38 } 39 40 protected void massageFileNames(File [] inputs) { 41 RemoteDeployUtil.uploadFilesToServer(inputs, this); 42 } 43 } 44 | Popular Tags |