org.ow2.petals.jbi.management.task.installation.install.sl
Class CreateSLRepositoryTask
java.lang.Object
org.ow2.petals.jbi.management.task.AbstractLoggableTask
org.ow2.petals.jbi.management.task.AbstractCopyPackageToRepositoryTask
org.ow2.petals.jbi.management.task.installation.install.sl.CreateSLRepositoryTask
- All Implemented Interfaces:
- Task
public class CreateSLRepositoryTask
- extends AbstractCopyPackageToRepositoryTask
This task copy shared library package into the repository.
This task MUST be executed with a Context containing:
- shared library name as entity name,
- shared library version as entity version,
- archive as exploded directory,
and returns following data in the Context:
- the URL where the shared library is installed in the repository.
- Author:
- ofabre - EBM Websourcing
|
Method Summary |
protected java.io.File |
copyEntityPackage(java.lang.String entityName,
java.lang.String entityVersion,
java.io.File packageFile)
|
protected void |
removeEntityPackage(java.lang.String entityName,
java.lang.String entityVersion)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSLRepositoryTask
public CreateSLRepositoryTask(org.ow2.petals.util.LoggingUtil log,
RepositoryService repositorySrv)
copyEntityPackage
protected java.io.File copyEntityPackage(java.lang.String entityName,
java.lang.String entityVersion,
java.io.File packageFile)
throws java.io.IOException,
RepositoryException
- Specified by:
copyEntityPackage in class AbstractCopyPackageToRepositoryTask
- Throws:
java.io.IOException
RepositoryException
removeEntityPackage
protected void removeEntityPackage(java.lang.String entityName,
java.lang.String entityVersion)
throws java.io.IOException
- Specified by:
removeEntityPackage in class AbstractCopyPackageToRepositoryTask
- Throws:
java.io.IOException
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.