|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.SimpleProgressObjectImpl
public class SimpleProgressObjectImpl
Implements a progress object primarily intended to report an error during a DeploymentManager method invocation.
| Field Summary | |
|---|---|
protected Vector |
deliveredEvents
Records all events delivered so late-registering listeners will be informed of all past events as well as future ones. |
| Constructor Summary | |
|---|---|
SimpleProgressObjectImpl(DeploymentStatus deploymentStatus)
Creates a new instance of ProgressObjectIimplWithError |
|
| Method Summary | |
|---|---|
void |
addProgressListener(ProgressListener progressListener)
Registers a listener for progress events. |
void |
cancel()
|
protected void |
fireProgressEvent(ProgressEvent progressEvent)
Notifies all listeners that have registered interest for ProgressEvent notification. |
ClientConfiguration |
getClientConfiguration(TargetModuleID targetModuleID)
|
DeploymentStatus |
getDeploymentStatus()
|
TargetModuleID[] |
getResultTargetModuleIDs()
|
boolean |
isCancelSupported()
|
boolean |
isStopSupported()
|
void |
removeProgressListener(ProgressListener progressListener)
Unregister a previously-registered event listener. |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vector deliveredEvents
| Constructor Detail |
|---|
public SimpleProgressObjectImpl(DeploymentStatus deploymentStatus)
| Method Detail |
|---|
public void addProgressListener(ProgressListener progressListener)
addProgressListener in interface ProgressObjectnew - progress listener
public void cancel()
throws OperationUnsupportedException
cancel in interface ProgressObjectOperationUnsupportedExceptionpublic ClientConfiguration getClientConfiguration(TargetModuleID targetModuleID)
getClientConfiguration in interface ProgressObjectpublic DeploymentStatus getDeploymentStatus()
getDeploymentStatus in interface ProgressObjectpublic TargetModuleID[] getResultTargetModuleIDs()
getResultTargetModuleIDs in interface ProgressObjectpublic boolean isCancelSupported()
isCancelSupported in interface ProgressObjectpublic boolean isStopSupported()
isStopSupported in interface ProgressObjectpublic void removeProgressListener(ProgressListener progressListener)
removeProgressListener in interface ProgressObjectthe - listener to unregister
public void stop()
throws OperationUnsupportedException
stop in interface ProgressObjectOperationUnsupportedExceptionprotected void fireProgressEvent(ProgressEvent progressEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||