|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.deployment.spi.status.ProgressObjectImpl
The ProgressObject interface tracks and reports the progress of the deployment activities, distribute, start, stop, undeploy.
| Constructor Summary | |
ProgressObjectImpl(javax.enterprise.deploy.spi.status.DeploymentStatus deploymentStatus,
javax.enterprise.deploy.spi.TargetModuleID[] targetModules)
|
|
| Method Summary | |
void |
addProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)
Add a progress listener |
void |
cancel()
Cancels the deployment |
javax.enterprise.deploy.spi.status.ClientConfiguration |
getClientConfiguration(javax.enterprise.deploy.spi.TargetModuleID id)
Return the client configuration associated with the module |
javax.enterprise.deploy.spi.status.DeploymentStatus |
getDeploymentStatus()
Retrieve the status of the deployment |
javax.enterprise.deploy.spi.TargetModuleID[] |
getResultTargetModuleIDs()
Retrieve the resulting target module ids |
boolean |
isCancelSupported()
Is cancel supported |
boolean |
isStopSupported()
Is stop supported |
void |
removeProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)
Remove a progress listener |
void |
sendProgressEvent(javax.enterprise.deploy.shared.StateType stateType,
String message,
javax.enterprise.deploy.spi.TargetModuleID moduleID)
Set the current deployment status |
void |
stop()
Stops the deployment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProgressObjectImpl(javax.enterprise.deploy.spi.status.DeploymentStatus deploymentStatus,
javax.enterprise.deploy.spi.TargetModuleID[] targetModules)
| Method Detail |
public void sendProgressEvent(javax.enterprise.deploy.shared.StateType stateType,
String message,
javax.enterprise.deploy.spi.TargetModuleID moduleID)
public javax.enterprise.deploy.spi.status.DeploymentStatus getDeploymentStatus()
getDeploymentStatus in interface javax.enterprise.deploy.spi.status.ProgressObjectpublic javax.enterprise.deploy.spi.TargetModuleID[] getResultTargetModuleIDs()
getResultTargetModuleIDs in interface javax.enterprise.deploy.spi.status.ProgressObjectpublic javax.enterprise.deploy.spi.status.ClientConfiguration getClientConfiguration(javax.enterprise.deploy.spi.TargetModuleID id)
getClientConfiguration in interface javax.enterprise.deploy.spi.status.ProgressObjectid - the module id
public boolean isCancelSupported()
isCancelSupported in interface javax.enterprise.deploy.spi.status.ProgressObject
public void cancel()
throws javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException
cancel in interface javax.enterprise.deploy.spi.status.ProgressObjectjavax.enterprise.deploy.spi.exceptions.OperationUnsupportedException - when cancel is not supportedpublic boolean isStopSupported()
isStopSupported in interface javax.enterprise.deploy.spi.status.ProgressObject
public void stop()
throws javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException
stop in interface javax.enterprise.deploy.spi.status.ProgressObjectjavax.enterprise.deploy.spi.exceptions.OperationUnsupportedException - when stop is not supportedpublic void addProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)
addProgressListener in interface javax.enterprise.deploy.spi.status.ProgressObjectlistener - the listenerpublic void removeProgressListener(javax.enterprise.deploy.spi.status.ProgressListener listener)
removeProgressListener in interface javax.enterprise.deploy.spi.status.ProgressObjectlistener - the listener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||