|
||||||||||
| 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.RenameSUsTask
public class RenameSUsTask
This task renames service unit packages into the repository to fits with
service unit ids in the JBI descriptor of the service assembly
Inputs : Jbi, parent service assembly install root URI
Outputs : SU install roots Map
| Field Summary | |
|---|---|
protected org.ow2.petals.util.LoggingUtil |
log
logger wrapper |
| Constructor Summary | |
|---|---|
RenameSUsTask(RepositoryService repositoryService,
org.ow2.petals.util.LoggingUtil log)
|
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Launch the task with the given context. |
protected java.util.Map<java.lang.String,java.net.URL> |
renameSUS(java.net.URL saInstallUrl,
org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
Explode service unit packages into the repository |
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 org.ow2.petals.util.LoggingUtil log
| Constructor Detail |
|---|
public RenameSUsTask(RepositoryService repositoryService,
org.ow2.petals.util.LoggingUtil log)
| 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> renameSUS(java.net.URL saInstallUrl,
org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
throws ManagementException,
java.net.MalformedURLException
saInstallRoot - the root URI of the service assemblydescriptor - the service assembly descriptor
ManagementException - if the repository service doesn't manage to expend su archive
java.net.MalformedURLExceptionpublic void undo(Context context)
Task
undo in interface Taskcontext - the execution context handling input and output information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||