|
||||||||||
| 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.RetrieveSAAndSUInstallRootsTask
public class RetrieveSAAndSUInstallRootsTask
This task retrieves the SA install root and all SUs install roots
Inputs : Jbi
Outputs : SA install root URI, SU install roots Map
The task has got a non-robust approach : it stops at the first subtask failed
and have the undo capability.
| Field Summary | |
|---|---|
protected RepositoryService |
repositoryService
Platform Component :: Repository Service |
| Constructor Summary | |
|---|---|
RetrieveSAAndSUInstallRootsTask(RepositoryService repositoryService)
|
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Launch the task with the given context. |
protected java.util.Map<java.lang.String,java.net.URL> |
retrieveSUInstallUrls(java.net.URL saInstallUrl,
org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
Retrieve all SU installation root URI |
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 RepositoryService repositoryService
| Constructor Detail |
|---|
public RetrieveSAAndSUInstallRootsTask(RepositoryService repositoryService)
| 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 java.util.Map<java.lang.String,java.net.URL> retrieveSUInstallUrls(java.net.URL saInstallUrl,
org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
throws java.net.MalformedURLException
URI
descriptor - the service assembly descriptorinstallationRoot - the SA installation root URI
Map
java.net.MalformedURLException
org.ow2.petals.kernel.api.server.PetalsException
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 | |||||||||