|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.archive.ServiceArchive
A service archive contains a JAR file with a modified manifest for specialized Norna Service Archive properties.
This class pre-read the manifest, but this might change.
| Field Summary | |
static java.util.jar.Attributes.Name |
EXPORT_PACKAGE
Attribute name for the exported packages of a class. |
static java.util.jar.Attributes.Name |
IMPORT_PACKAGE
Attribute name for the imported packages of a class. |
static java.util.jar.Attributes.Name |
SERVICE_CLASS
Attribute name for the main norna service class. |
| Constructor Summary | |
ServiceArchive(java.io.File file)
Create archive from a file. |
|
| Method Summary | |
PackageSet |
getExportedPackages()
Get the exported packages from this archive. |
java.io.File |
getFile()
Get the file object that represents this archive. |
PackageSet |
getImportedPackages()
Get the imported packages from this archive. |
java.lang.String |
getServiceClass()
Get the main service class name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.util.jar.Attributes.Name SERVICE_CLASS
public static final java.util.jar.Attributes.Name EXPORT_PACKAGE
public static final java.util.jar.Attributes.Name IMPORT_PACKAGE
| Constructor Detail |
public ServiceArchive(java.io.File file)
throws java.io.IOException
file - Jar file to read
java.io.IOException - If the file is not found, or on IO errors| Method Detail |
public java.lang.String getServiceClass()
throws java.io.IOException
java.io.IOException - On read errorspublic java.io.File getFile()
public PackageSet getExportedPackages()
public PackageSet getImportedPackages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||