|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.petals.microkernel.api.jbi.management.PackageHelper
public class PackageHelper
Utility class for handling packages and package URLs.
Constructor Summary | |
---|---|
PackageHelper()
|
Method Summary | |
---|---|
static org.ow2.petals.jbi.descriptor.original.generated.Jbi |
loadDescriptor(File packageFile)
Load the JBI descriptor from the unzipped package folder of the given entity (component, shared lib or service assembly). |
static org.ow2.petals.jbi.descriptor.original.generated.Jbi |
loadDescriptor(String entityName,
JbiArchiveType entityType,
RepositoryService repositoryService)
Load the JBI descriptor from the repository folder of the given entity (component, shared libraries or service assembly). |
static org.ow2.petals.jbi.descriptor.original.generated.Jbi |
loadDescriptor(URL archiveURL)
Load the JBI descriptor from the given archive file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageHelper()
Method Detail |
---|
public static final org.ow2.petals.jbi.descriptor.original.generated.Jbi loadDescriptor(String entityName, JbiArchiveType entityType, RepositoryService repositoryService) throws org.ow2.petals.basisapi.exception.PetalsException, MalformedURLException, org.ow2.petals.jbi.descriptor.JBIDescriptorException, IOException
entityName
- name of entityentityType
- type of entity (component, shared libraries or service
assembly)
Jbi
object
org.ow2.petals.basisapi.exception.PetalsException
org.ow2.petals.basisapi.exception.PetalsException
IOException
org.ow2.petals.jbi.descriptor.JBIDescriptorException
MalformedURLException
public static final org.ow2.petals.jbi.descriptor.original.generated.Jbi loadDescriptor(URL archiveURL) throws MalformedURLException, org.ow2.petals.jbi.descriptor.JBIDescriptorException, IOException, org.ow2.petals.basisapi.exception.PetalsException
archiveURI
- the URI of the archive file
Jbi
object
IOException
org.ow2.petals.jbi.descriptor.JBIDescriptorException
MalformedURLException
org.ow2.petals.basisapi.exception.PetalsException
public static final org.ow2.petals.jbi.descriptor.original.generated.Jbi loadDescriptor(File packageFile) throws org.ow2.petals.basisapi.exception.PetalsException, FileNotFoundException, org.ow2.petals.jbi.descriptor.JBIDescriptorException
unzipRoot
- unzipped package root in work directory
Jbi
object
org.ow2.petals.basisapi.exception.PetalsException
org.ow2.petals.basisapi.exception.PetalsException
org.ow2.petals.jbi.descriptor.JBIDescriptorException
FileNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |