|
||||||||||
| 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.undeploy.RetrieveSALifeCycleTask
public class RetrieveSALifeCycleTask
Retrieve service assembly lifecycle.
Inputs : entity name String
Outputs : ServiceAssemblyLifeCycle
The task has got a robust approach: it tries to do all the subtasks
and have the undo capability.
| Field Summary | |
|---|---|
protected AdminService |
adminService
JBI Container :: JMX Agent Admin |
| Constructor Summary | |
|---|---|
RetrieveSALifeCycleTask(AdminService adminService)
|
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Launch the task with the given context. |
protected ServiceAssemblyLifeCycle |
retrieveServiceAssemblyLifeCycle(java.lang.String saName)
Retrieve the ServiceAssemblyLifeCycle matching the given service
assembly name. |
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 |
| Field Detail |
|---|
protected AdminService adminService
| Constructor Detail |
|---|
public RetrieveSALifeCycleTask(AdminService adminService)
| 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 processingprotected ServiceAssemblyLifeCycle retrieveServiceAssemblyLifeCycle(java.lang.String saName)
ServiceAssemblyLifeCycle matching the given service
assembly name.
saName - the service assembly name
ServiceAssemblyLifeCycle
java.lang.Exception - if no service assembly can be retrieved
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 | |||||||||