org.ow2.petals.jbi.management.task.installation.install.component
Class ComponentCheckPackageTask
java.lang.Object
org.ow2.petals.jbi.management.task.AbstractLoggableTask
org.ow2.petals.jbi.management.task.AbstractCheckPackageTask
org.ow2.petals.jbi.management.task.installation.install.component.ComponentCheckPackageTask
- All Implemented Interfaces:
- Task
public class ComponentCheckPackageTask
- extends AbstractCheckPackageTask
This task checks the validity of the component package.
- Author:
- ofabre - EBM Websourcing
|
Method Summary |
protected void |
checkPackage(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor,
java.io.File filePackage)
Check the validity of the component archive |
protected java.lang.String |
extractEntityName(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adminService
protected AdminService adminService
ComponentCheckPackageTask
public ComponentCheckPackageTask(org.ow2.petals.util.LoggingUtil log,
AdminService adminService)
checkPackage
protected void checkPackage(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor,
java.io.File filePackage)
throws org.ow2.petals.kernel.api.server.PetalsException
- Check the validity of the component archive
- Specified by:
checkPackage in class AbstractCheckPackageTask
- Parameters:
descriptor - the component JbifilePackage - the service assembly package root
- Throws:
org.ow2.petals.kernel.api.server.PetalsException - if component element or name is null or empty, if component
is already installed or if some classpath elements of the
component are missing
extractEntityName
protected java.lang.String extractEntityName(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
- Specified by:
extractEntityName in class AbstractCheckPackageTask
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.