com.caucho.j2ee.deployclient
Interface DeploymentProxyAPI


public interface DeploymentProxyAPI

Interface for the deployment manager.


Method Summary
 ProgressObject distribute(Target[] targets, java.io.InputStream deploymentPlan, java.io.InputStream archiveIs)
          Distributes the archive.
 TargetModuleID[] getAvailableModules(java.lang.String moduleType)
          Gets the current modules.
 TargetImpl[] getTargets()
          Returns the targets for the server.
 ProgressObject start(TargetModuleID[] ids)
          Starts the archive.
 ProgressObject stop(TargetModuleID[] ids)
          Stops the archive.
 ProgressObject undeploy(TargetModuleID[] ids)
          Undeploys the archive.
 

Method Detail

getTargets

TargetImpl[] getTargets()
Returns the targets for the server.


getAvailableModules

TargetModuleID[] getAvailableModules(java.lang.String moduleType)
Gets the current modules.


distribute

ProgressObject distribute(Target[] targets,
                          java.io.InputStream deploymentPlan,
                          java.io.InputStream archiveIs)
Distributes the archive.


start

ProgressObject start(TargetModuleID[] ids)
Starts the archive.


stop

ProgressObject stop(TargetModuleID[] ids)
Stops the archive.


undeploy

ProgressObject undeploy(TargetModuleID[] ids)
Undeploys the archive.