org.ow2.petals.jbi.management.task.installation.install.sl
Class SLCheckPackageTask

java.lang.Object
  extended by org.ow2.petals.jbi.management.task.AbstractLoggableTask
      extended by org.ow2.petals.jbi.management.task.AbstractCheckPackageTask
          extended by org.ow2.petals.jbi.management.task.installation.install.sl.SLCheckPackageTask
All Implemented Interfaces:
Task

public class SLCheckPackageTask
extends AbstractCheckPackageTask

This task checks the validity of the Shared Library package.

Author:
ofabre - EBM Websourcing

Field Summary
 
Fields inherited from class org.ow2.petals.jbi.management.task.AbstractLoggableTask
log
 
Constructor Summary
SLCheckPackageTask(org.ow2.petals.util.LoggingUtil log, AdminService adminService)
           
 
Method Summary
protected  void checkPackage(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor, java.io.File filePackage)
          Check the validity of the Shared Library archive
protected  java.lang.String extractEntityName(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
           
protected  java.lang.String extractEntityVersion(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
           
 
Methods inherited from class org.ow2.petals.jbi.management.task.AbstractCheckPackageTask
execute, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLCheckPackageTask

public SLCheckPackageTask(org.ow2.petals.util.LoggingUtil log,
                          AdminService adminService)
Method Detail

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 Shared Library archive

Specified by:
checkPackage in class AbstractCheckPackageTask
Parameters:
descriptor - the shared lib Jbi
filePackage - the service assembly package root
Throws:
org.ow2.petals.kernel.api.server.PetalsException
ComponentCheckingException

extractEntityName

protected java.lang.String extractEntityName(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
Specified by:
extractEntityName in class AbstractCheckPackageTask

extractEntityVersion

protected java.lang.String extractEntityVersion(org.ow2.petals.jbi.descriptor.original.generated.Jbi descriptor)
Overrides:
extractEntityVersion in class AbstractCheckPackageTask


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.