Methods Summary |
---|
public void | addProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)Add a progress listener
listeners.add(listener);
|
public void | cancel()Cancels the deployment
throw new OperationUnsupportedException("cancel not supported");
|
public javax.enterprise.deploy.spi.status.ClientConfiguration | getClientConfiguration(javax.enterprise.deploy.spi.TargetModuleID id)Return the client configuration associated with the module
return null; //[todo] implement method
|
public javax.enterprise.deploy.spi.status.DeploymentStatus | getDeploymentStatus()Retrieve the status of the deployment
return deploymentStatus;
|
public javax.enterprise.deploy.spi.TargetModuleID[] | getResultTargetModuleIDs()Retrieve the resulting target module ids
return targetModules;
|
public boolean | isCancelSupported()Is cancel supported
return false;
|
public boolean | isStopSupported()Is stop supported
return false;
|
public void | removeProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)Remove a progress listener
listeners.remove(listener);
|
public void | sendProgressEvent(javax.enterprise.deploy.shared.StateType stateType, java.lang.String message, javax.enterprise.deploy.spi.TargetModuleID moduleID)Set the current deployment status
deploymentStatus.setStateType(stateType);
deploymentStatus.setMessage(message);
ProgressEvent progressEvent = new ProgressEvent(this, moduleID, deploymentStatus);
for (int i = 0; i < listeners.size(); i++)
{
ProgressListener progressListener = (ProgressListener)listeners.get(i);
progressListener.handleProgressEvent(progressEvent);
}
|
public void | stop()Stops the deployment
throw new OperationUnsupportedException("stop not supported");
|
public java.lang.String | toString()
StringBuffer sbuf = new StringBuffer();
sbuf.append("[ deploymentStatus=").append(deploymentStatus);
for (int i = 0; i < targetModules.length; i++)
{
sbuf.append(", ").append(targetModules[i]);
}
sbuf.append(" ]");
return sbuf.toString();
|