Methods Summary |
---|
public void | addProgressListener(javax.enterprise.deploy.spi.status.ProgressListener progressListener)Registers a listener for progress events.
synchronized (listeners) {
listeners.add(progressListener);
if (deliveredEvents.size() > 0) {
for (Iterator i = deliveredEvents.iterator(); i.hasNext();) {
progressListener.handleProgressEvent((ProgressEvent)i.next());
}
}
}
|
public void | cancel()
throw new OperationUnsupportedException("cancel not supported");
|
protected void | fireProgressEvent(javax.enterprise.deploy.spi.status.ProgressEvent progressEvent)Notifies all listeners that have registered interest for ProgressEvent notification.
Vector currentListeners = null;
synchronized (listeners) {
currentListeners = (Vector) listeners.clone();
deliveredEvents.add(progressEvent);
}
for (Iterator listenersItr = currentListeners.iterator(); listenersItr.hasNext();) {
((ProgressListener)listenersItr.next()).handleProgressEvent(progressEvent);
}
currentListeners = null;
|
public javax.enterprise.deploy.spi.status.ClientConfiguration | getClientConfiguration(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
return null;
|
public javax.enterprise.deploy.spi.status.DeploymentStatus | getDeploymentStatus()
return deploymentStatus;
|
public javax.enterprise.deploy.spi.TargetModuleID[] | getResultTargetModuleIDs()
return new javax.enterprise.deploy.spi.TargetModuleID[0];
|
public boolean | isCancelSupported()
return false;
|
public boolean | isStopSupported()
return false;
|
public void | removeProgressListener(javax.enterprise.deploy.spi.status.ProgressListener progressListener)Unregister a previously-registered event listener.
synchronized (listeners) {
listeners.remove(progressListener);
}
|
public void | stop()
throw new OperationUnsupportedException("stop not supported");
|