|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jbi.management.task.deployment.deploy.CreateXMLDeploymentResultTask
public class CreateXMLDeploymentResultTask
This task create framework task result. As we decide to create xml task
result only when deployment of the SA success, xml result only handles xml
component messages. All exceptions (caused by the deployment framework or
thrown by a component during the deployment of an su) are thrown and they
will stop the deployment process. It's a small violation of the
specification.
Inputs : Jbi
Outputs : * XMLResult
The task has got a non-robust approach : it stops at the first subtask failed
and have the undo capability.
| Constructor Summary | |
|---|---|
CreateXMLDeploymentResultTask()
|
|
| Method Summary | |
|---|---|
protected void |
createFrameworkTaskResult(java.lang.String saName,
XMLResult result)
Create the framework task result of the xml result message. |
void |
execute(Context context)
Launch the task with the given context. |
void |
undo(Context context)
Reverse the task in order to retrieve the environ state before execution of this task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateXMLDeploymentResultTask()
| Method Detail |
|---|
public void execute(Context context)
throws java.lang.Exception
Task
execute in interface Taskcontext - the execution context handling input and output information
java.lang.Exception - if an error occurs during Task processing
protected void createFrameworkTaskResult(java.lang.String saName,
XMLResult result)
saName - the service assembly nameresult - framework task result
public void undo(Context context)
throws java.lang.Exception
Task
undo in interface Taskcontext - the execution context handling input and output information
java.lang.Exception - if an error occurs during Task unprocessing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||