com.caucho.j2ee.deployserver
Class DeploymentService
java.lang.Object
com.caucho.j2ee.deployserver.DeploymentService
public class DeploymentService
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDeploymentService
public static DeploymentService getDeploymentService()
getTargets
public TargetImpl[] getTargets()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getAvailableModules
public TargetModuleID[] getAvailableModules(java.lang.String type)
throws TargetException,
java.lang.IllegalStateException
- Throws:
TargetException
java.lang.IllegalStateException
distribute
public ProgressObject distribute(TargetImpl[] hostTargets,
java.io.InputStream archiveIs,
DeploymentPlan plan)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
start
public ProgressObject start(TargetModuleID[] ids)
stop
public ProgressObject stop(TargetModuleID[] ids)
undeploy
public ProgressObject undeploy(TargetModuleID[] ids)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException