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