com.caucho.j2ee.deployserver
Class DeploymentService

java.lang.Object
  extended by com.caucho.j2ee.deployserver.DeploymentService

public class DeploymentService
extends java.lang.Object


Method Summary
 ProgressObject distribute(TargetImpl[] hostTargets, java.io.InputStream archiveIs, DeploymentPlan plan)
           
 TargetModuleID[] getAvailableModules(java.lang.String type)
           
static DeploymentService getDeploymentService()
           
 TargetImpl[] getTargets()
           
 ProgressObject start(TargetModuleID[] ids)
           
 ProgressObject stop(TargetModuleID[] ids)
           
 ProgressObject undeploy(TargetModuleID[] ids)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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