org.ow2.petals.jbi.management.task.installation.install.component
Class CreateComponentRepositoryTask
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.component.CreateComponentRepositoryTask
- All Implemented Interfaces:
- Task
public class CreateComponentRepositoryTask
- extends AbstractCopyPackageToRepositoryTask
This task install the component package into the repository.
This task MUST be executed with a Context containing:
- component name as entity name,
- archive as exploded directory,
and returns following data in the Context:
- the URL where the component 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 |
CreateComponentRepositoryTask
public CreateComponentRepositoryTask(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.