1 29 30 package com.caucho.j2ee.deployclient; 31 32 import javax.enterprise.deploy.spi.Target ; 33 import javax.enterprise.deploy.spi.TargetModuleID ; 34 import javax.enterprise.deploy.spi.status.ProgressObject ; 35 import java.io.InputStream ; 36 37 40 public interface DeploymentProxyAPI { 41 44 public TargetImpl []getTargets(); 45 46 49 public TargetModuleID []getAvailableModules(String moduleType); 50 51 54 public ProgressObject distribute(Target []targets, 55 InputStream deploymentPlan, 56 InputStream archiveIs); 57 60 public ProgressObject start(TargetModuleID []ids); 61 62 65 public ProgressObject stop(TargetModuleID []ids); 66 67 70 public ProgressObject undeploy(TargetModuleID []ids); 71 72 } 73 74 | Popular Tags |