|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.archivist.Archivist<T>
@Contract public abstract class Archivist<T extends RootDeploymentDescriptor>
This abstract class contains all common behaviour for Achivisits. Archivists classes are responsible for reading and writing correct J2EE Archives
| Field Summary | |
|---|---|
protected boolean |
annotationProcessingRequested
|
protected static java.lang.String |
APPCLIENT_EXTENSION
|
protected static java.lang.String |
APPLICATION_EXTENSION
|
protected java.lang.ClassLoader |
classLoader
|
protected static java.lang.String |
CONNECTOR_EXTENSION
|
protected T |
descriptor
|
protected static java.lang.String |
EJB_EXTENSION
|
protected boolean |
handleRuntimeInfo
|
protected static java.util.logging.Logger |
logger
|
protected java.util.jar.Manifest |
manifest
|
static java.lang.String |
MANIFEST_VERSION_VALUE
|
protected java.lang.String |
path
|
protected static java.lang.String |
UPLOAD_EXTENSION
|
protected static java.lang.String |
WEB_EXTENSION
|
protected static java.lang.String |
WEB_FRAGMENT_EXTENSION
|
| Constructor Summary | |
|---|---|
Archivist()
Creates new Archivist |
|
| Method Summary | |
|---|---|
protected static void |
addFileToArchive(WritableArchive archive,
java.lang.String filePath,
java.lang.String entryName)
add a file to an output abstract archive |
void |
applyRuntimeInfo(java.io.File runtimeDD,
java.io.File output)
apply runtimne info to this archive descriptors and saves it |
boolean |
containsRuntimeDeploymentDescriptors(Archive in)
|
void |
copyAnEntry(ReadableArchive in,
WritableArchive out,
java.lang.String entryName)
|
void |
copyExtraElements(ReadableArchive in,
WritableArchive out)
|
void |
copyInto(ReadableArchive source,
WritableArchive target)
Copy source archivist to a target abstract archive. |
void |
copyInto(ReadableArchive source,
WritableArchive target,
boolean overwriteManifest)
Copy source archivist to a target abstract archive. |
void |
copyInto(ReadableArchive source,
WritableArchive target,
java.util.Vector entriesToSkip)
Copy source archivist to a target abstract archive. |
void |
copyInto(ReadableArchive source,
WritableArchive target,
java.util.Vector entriesToSkip,
boolean overwriteManifest)
Copy this archivist to a new abstract archive |
void |
copyInto(WritableArchive target)
Copy this archivist to a new abstract archive |
protected void |
copyJarElements(ReadableArchive in,
WritableArchive out,
java.util.Vector ignoreList)
copy all contents of a jar file to a new jar file except for all the deployment descriptors files |
void |
copyStandardDeploymentDescriptors(ReadableArchive in,
WritableArchive out)
|
ModuleDescriptor |
createModuleDescriptor(T descriptor)
creates a new module descriptor for this archivist |
void |
extractEntry(java.lang.String entryName,
java.io.File out)
extract a entry of this archive to a file |
ErrorHandler |
getAnnotationErrorHandler()
|
protected abstract java.lang.String |
getArchiveExtension()
|
java.lang.ClassLoader |
getClassLoader()
Gets the classloader for this archivist |
java.lang.String |
getClassPath()
|
abstract DeploymentDescriptorFile |
getConfigurationDDFile()
|
abstract T |
getDefaultBundleDescriptor()
|
java.lang.String |
getDeploymentDescriptorPath()
|
T |
getDescriptor()
|
java.util.Vector |
getLibraries(Archive archive)
|
java.util.Vector |
getListOfFilesToSkip()
|
java.util.jar.Manifest |
getManifest()
|
abstract XModuleType |
getModuleType()
|
java.lang.String |
getPath()
|
java.lang.String |
getRuntimeDeploymentDescriptorPath()
|
boolean |
getRuntimeXMLValidation()
|
java.lang.String |
getRuntimeXMLValidationLevel()
|
ModuleScanner |
getScanner()
Returns the scanner for this archivist, usually it is the scanner regitered with the same module type as this archivist, but subclasses can return a different version |
abstract DeploymentDescriptorFile<T> |
getStandardDDFile()
|
DeploymentDescriptorFile |
getSunConfigurationDDFile()
|
protected static java.io.File |
getTempFile(java.io.File fileOrDir)
utility method to get a tmp file in the current user directory of the provided directory |
protected static java.io.File |
getTempFile(java.lang.String fileOrDirPath)
utility method to get a tmp file in the current user directory of the provided directory |
protected java.lang.String |
getUniqueEntryFilenameFor(Archive archive,
java.lang.String trialName)
|
DeploymentDescriptorFile |
getWebServicesDDFile(RootDeploymentDescriptor desc)
|
java.lang.String |
getWebServicesDeploymentDescriptorPath()
|
DeploymentDescriptorFile |
getWLConfigurationDDFile()
|
boolean |
getXMLValidation()
|
java.lang.String |
getXMLValidationLevel()
|
boolean |
handles(ReadableArchive archive)
Returns true if this archivist is capable of handling the archive type |
boolean |
hasRuntimeDeploymentDescriptor(ReadableArchive archive)
|
boolean |
hasStandardDeploymentDescriptor(ReadableArchive archive)
|
protected void |
initializeContext(Archivist other)
initializes this instance from another archivist, this is used to transfer contextual information between archivists, for example whether we should handle runtime information and such |
boolean |
isAnnotationProcessingRequested()
|
boolean |
isHandlingRuntimeInfo()
|
protected boolean |
isProcessAnnotation(T descriptor)
|
T |
open(java.io.File file)
open a new archive file using a file descriptor |
T |
open(ReadableArchive archive)
Open a new archive file, read the XML descriptor and set the constructed DOL descriptor instance |
T |
open(ReadableArchive archive,
Application app)
|
T |
open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive)
|
T |
open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive,
Application app)
Creates the DOL object graph for an app for which the descriptor(s) reside in one archive and the content resides in another. |
T |
open(java.lang.String path)
Open a new archive file, read the XML descriptor and set the constructed DOL descriptor instance |
Application |
openWith(Application app,
ReadableArchive archive)
|
boolean |
performOptionalPkgDependenciesCheck(ReadableArchive archive)
Perform Optional packages dependencies checking on an archive |
protected void |
postAnnotationProcess(T descriptor,
ReadableArchive archive)
perform any action after annotation processed |
protected abstract boolean |
postHandles(ReadableArchive archive)
|
protected void |
postOpen(T descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action |
protected void |
postRuntimeDDsRead(T descriptor,
ReadableArchive archive)
perform any action after all runtime DDs read |
protected void |
postStandardDDsRead(T descriptor,
ReadableArchive archive,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
perform any action after all standard DDs is read |
void |
printDescriptor()
print the current descriptor associated with this archivist |
protected ProcessingResult |
processAnnotations(RootDeploymentDescriptor bundleDesc,
ModuleScanner scanner,
ReadableArchive archive)
Process annotations in a bundle descriptor, the annoation processing is dependent on the type of descriptor being passed. |
ProcessingResult |
processAnnotations(T bundleDesc,
ReadableArchive archive)
Process annotations in a bundle descriptor, the annoation processing is dependent on the type of descriptor being passed. |
protected void |
readAnnotations(ReadableArchive archive,
T descriptor,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
|
protected void |
readAnnotations(ReadableArchive archive,
T descriptor,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions,
ModuleScanner scanner)
|
java.lang.Object |
readMetaInfo(ReadableArchive archive)
|
void |
readRuntimeDDFromDeploymentPlan(ReadableArchive planArchive,
T descriptor)
Read the runtime deployment descriptors (can contained in one or many file) from a deployment plan archive, set the corresponding information in the passed descriptor. |
protected void |
readRuntimeDDFromDeploymentPlan(java.lang.String entry,
ReadableArchive planArchive,
T descriptor)
Read the runtime deployment descriptors (can contained in one or many file) from a deployment plan archive, set the corresponding information in the passed descriptor. |
void |
readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor)
Read the runtime deployment descriptors (can contained in one or many file) set the corresponding information in the passed descriptor. |
void |
readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor,
boolean warnIfMultipleDDs)
Read the runtime deployment descriptors (can contained in one or many file) set the corresponding information in the passed descriptor. |
T |
readStandardDeploymentDescriptor(ReadableArchive archive)
Read the standard deployment descriptors (can contained in one or many file) and return the corresponding initialized descriptor instance. |
protected boolean |
renameTmp(java.lang.String from,
java.lang.String to)
rename a tmp file |
void |
saveRuntimeInfo(java.io.File output)
|
void |
setAnnotationErrorHandler(ErrorHandler annotationErrorHandler)
sets annotation ErrorHandler for this archivist |
void |
setAnnotationProcessingRequested(boolean annotationProcessingRequested)
sets if this archivist process annotation |
void |
setArchiveUri(java.lang.String path)
Sets the path for this archivist's archive file |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the classloader for this archivist |
void |
setClassPath(java.lang.String newClassPath)
Sets the class-path for this archive |
void |
setDescriptor(T descriptor)
Archivist read XML deployment descriptors and keep the parsed result in the DOL descriptor instances. |
void |
setHandleRuntimeInfo(boolean handleRuntimeInfo)
sets if this archivist saves the runtime info |
void |
setManifest(java.util.jar.Manifest m)
sets the manifest file for this archive |
void |
setModuleDescriptor(ModuleDescriptor<T> module)
Archivists can be associated with a module descriptor once the XML deployment descriptors have been read and the DOL tree is initialized. |
void |
setRuntimeXMLValidation(boolean validate)
Turn on or off the XML Validation for runtime deployment descriptors loading |
void |
setRuntimeXMLValidationLevel(java.lang.String level)
Sets the runtime xml validation error reporting/recovering level. |
void |
setXMLValidation(boolean validate)
Turn on or off the XML Validation for all standard deployment descriptors loading |
void |
setXMLValidationLevel(java.lang.String level)
Sets the xml validation error reporting/recovering level. |
boolean |
supportsModuleType(XModuleType moduleType)
|
void |
validate(java.lang.ClassLoader aClassLoader)
validates the DOL Objects associated with this archivist, usually it requires that a class loader being set on this archivist or passed as a parameter |
void |
write()
|
void |
write(ReadableArchive in,
java.lang.String outPath)
save the archive |
void |
write(ReadableArchive in,
WritableArchive out)
|
void |
write(java.lang.String outPath)
saves the archive |
protected void |
writeContents(ReadableArchive in,
WritableArchive out)
writes the content of an archive to another archive |
protected void |
writeContents(ReadableArchive in,
WritableArchive out,
java.util.Vector entriesToSkip)
writes the content of an archive to a JarFile |
protected void |
writeContents(WritableArchive out)
writes the content of an archive to a JarFile |
void |
writeDeploymentDescriptors(WritableArchive out)
writes the deployment descriptors (standard and runtime) to a JarFile using the right deployment descriptor path |
protected void |
writeExtraDeploymentDescriptors(WritableArchive out)
write all extra deployment descriptors (like cmp related and runtime dds) |
void |
writeRuntimeDeploymentDescriptors(java.io.OutputStream os)
writes de configuration deployment descriptor to a new XML file |
void |
writeRuntimeDeploymentDescriptors(WritableArchive out)
writes the runtime deployment descriptors to an abstract archive |
void |
writeStandardDeploymentDescriptors(java.io.OutputStream os)
writes the standard deployment descriptor to an output stream |
void |
writeStandardDeploymentDescriptors(WritableArchive out)
writes the standard deployment descriptors to an abstract archive |
protected void |
writeWebServicesDescriptors(BundleDescriptor desc,
WritableArchive out)
Write web services related descriptors |
void |
writeWLRuntimeDeploymentDescriptors(WritableArchive out)
writes the WL runtime deployment descriptors to an abstract archive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger logger
public static final java.lang.String MANIFEST_VERSION_VALUE
protected java.lang.String path
protected boolean handleRuntimeInfo
protected boolean annotationProcessingRequested
protected java.util.jar.Manifest manifest
protected java.lang.ClassLoader classLoader
protected static final java.lang.String APPLICATION_EXTENSION
protected static final java.lang.String APPCLIENT_EXTENSION
protected static final java.lang.String WEB_EXTENSION
protected static final java.lang.String WEB_FRAGMENT_EXTENSION
protected static final java.lang.String EJB_EXTENSION
protected static final java.lang.String CONNECTOR_EXTENSION
protected static final java.lang.String UPLOAD_EXTENSION
protected T extends RootDeploymentDescriptor descriptor
| Constructor Detail |
|---|
public Archivist()
| Method Detail |
|---|
protected void initializeContext(Archivist other)
public void setDescriptor(T descriptor)
public T getDescriptor()
public T open(ReadableArchive archive)
throws java.io.IOException,
org.xml.sax.SAXParseException
archive - the archive file path
java.io.IOException
org.xml.sax.SAXParseException
public T open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
public T open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive,
Application app)
throws java.io.IOException,
org.xml.sax.SAXParseException
This allows the app client container to use both the generated JAR which contains the descriptors that are filled in during deployment and also the developer's original JAR which contains the classes that might be subject to annotation processing.
descriptorArchive - archive containing the descriptor(s)contentArchive - archive containing the classes, etc.app - owning DOL application (if any)
java.io.IOException
org.xml.sax.SAXParseException
public T open(ReadableArchive archive,
Application app)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
public Application openWith(Application app,
ReadableArchive archive)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
public T open(java.lang.String path)
throws java.io.IOException,
org.xml.sax.SAXParseException
path - the archive file path
java.io.IOException
org.xml.sax.SAXParseException
public T open(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXParseException
file - the archive to open
java.io.IOException
org.xml.sax.SAXParseException
protected void postStandardDDsRead(T descriptor,
ReadableArchive archive,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
throws java.io.IOException
descriptor - the deployment descriptor for the modulearchive - the module archiveextensions - map of extension archivists
java.io.IOException
protected void postAnnotationProcess(T descriptor,
ReadableArchive archive)
throws java.io.IOException
descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOException
protected void postRuntimeDDsRead(T descriptor,
ReadableArchive archive)
throws java.io.IOException
descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOException
protected void postOpen(T descriptor,
ReadableArchive archive)
throws java.io.IOException
descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOException
protected void readAnnotations(ReadableArchive archive,
T descriptor,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
throws java.io.IOException
java.io.IOException
protected void readAnnotations(ReadableArchive archive,
T descriptor,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions,
ModuleScanner scanner)
throws java.io.IOException
java.io.IOExceptionpublic ModuleScanner getScanner()
public ProcessingResult processAnnotations(T bundleDesc,
ReadableArchive archive)
throws AnnotationProcessorException,
java.io.IOException
AnnotationProcessorException
java.io.IOException
protected ProcessingResult processAnnotations(RootDeploymentDescriptor bundleDesc,
ModuleScanner scanner,
ReadableArchive archive)
throws AnnotationProcessorException,
java.io.IOException
AnnotationProcessorException
java.io.IOException
public T readStandardDeploymentDescriptor(ReadableArchive archive)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
public void readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
archive - the archivedescriptor - the initialized deployment descriptor
java.io.IOException
org.xml.sax.SAXParseException
public void readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor,
boolean warnIfMultipleDDs)
throws java.io.IOException,
org.xml.sax.SAXParseException
archive - the archivedescriptor - the initialized deployment descriptorwarnIfMultipleDDs - whether to log warnings if both the GlassFish and the legacy Sun descriptors are present
java.io.IOException
org.xml.sax.SAXParseException
public void readRuntimeDDFromDeploymentPlan(ReadableArchive planArchive,
T descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
protected void readRuntimeDDFromDeploymentPlan(java.lang.String entry,
ReadableArchive planArchive,
T descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
public void write()
throws java.io.IOException
java.io.IOException
public void write(java.lang.String outPath)
throws java.io.IOException
outPath - the file to use
java.io.IOException
public void write(ReadableArchive in,
java.lang.String outPath)
throws java.io.IOException
in - archive to copy old elements fromoutPath - the file to use
java.io.IOException
public void write(ReadableArchive in,
WritableArchive out)
throws java.io.IOException
java.io.IOException
protected void writeContents(WritableArchive out)
throws java.io.IOException
out - jar output stream to write to
java.io.IOException
protected void writeContents(ReadableArchive in,
WritableArchive out)
throws java.io.IOException
in - input archiveout - output archive
java.io.IOException
protected void writeContents(ReadableArchive in,
WritableArchive out,
java.util.Vector entriesToSkip)
throws java.io.IOException
in - input archiveout - archive output stream to write toentriesToSkip - files to not write from the original archive
java.io.IOException
public void writeDeploymentDescriptors(WritableArchive out)
throws java.io.IOException
java.io.IOException
public void writeStandardDeploymentDescriptors(WritableArchive out)
throws java.io.IOException
out - archive to write to
java.io.IOException
public void writeRuntimeDeploymentDescriptors(WritableArchive out)
throws java.io.IOException
out - output archive
java.io.IOException
public void writeWLRuntimeDeploymentDescriptors(WritableArchive out)
throws java.io.IOException
out - output archive
java.io.IOException
protected void writeExtraDeploymentDescriptors(WritableArchive out)
throws java.io.IOException
java.io.IOException
public void writeStandardDeploymentDescriptors(java.io.OutputStream os)
throws java.io.IOException
os - stream to write out the descriptors
java.io.IOException
public void writeRuntimeDeploymentDescriptors(java.io.OutputStream os)
throws java.io.IOException
os - stream to write the configuration deployment descriptors
java.io.IOException
protected void writeWebServicesDescriptors(BundleDescriptor desc,
WritableArchive out)
throws java.io.IOException
desc - the module descriptorout - the output archive
java.io.IOExceptionpublic java.lang.String getDeploymentDescriptorPath()
public java.lang.String getWebServicesDeploymentDescriptorPath()
public java.lang.String getRuntimeDeploymentDescriptorPath()
public boolean containsRuntimeDeploymentDescriptors(Archive in)
public void setModuleDescriptor(ModuleDescriptor<T> module)
public boolean performOptionalPkgDependenciesCheck(ReadableArchive archive)
throws java.io.IOException
java.io.IOExceptionpublic boolean supportsModuleType(XModuleType moduleType)
public abstract XModuleType getModuleType()
public abstract DeploymentDescriptorFile<T> getStandardDDFile()
public abstract DeploymentDescriptorFile getConfigurationDDFile()
public DeploymentDescriptorFile getWLConfigurationDDFile()
public DeploymentDescriptorFile getSunConfigurationDDFile()
public abstract T getDefaultBundleDescriptor()
public DeploymentDescriptorFile getWebServicesDDFile(RootDeploymentDescriptor desc)
desc - the bundle descriptor
protected abstract java.lang.String getArchiveExtension()
protected abstract boolean postHandles(ReadableArchive archive)
throws java.io.IOException
java.io.IOException
public boolean hasStandardDeploymentDescriptor(ReadableArchive archive)
throws java.io.IOException
java.io.IOException
public boolean hasRuntimeDeploymentDescriptor(ReadableArchive archive)
throws java.io.IOException
java.io.IOExceptionpublic boolean handles(ReadableArchive archive)
archive - the input archive
public ModuleDescriptor createModuleDescriptor(T descriptor)
public void printDescriptor()
public void setHandleRuntimeInfo(boolean handleRuntimeInfo)
handleRuntimeInfo - to true to save the runtime infopublic boolean isHandlingRuntimeInfo()
public void setAnnotationProcessingRequested(boolean annotationProcessingRequested)
annotationProcessingRequested - to true to process annotationpublic boolean isAnnotationProcessingRequested()
public void setAnnotationErrorHandler(ErrorHandler annotationErrorHandler)
annotationErrorHandler - public ErrorHandler getAnnotationErrorHandler()
public void setManifest(java.util.jar.Manifest m)
m - manifest to use at saving timepublic java.util.jar.Manifest getManifest()
public void setClassPath(java.lang.String newClassPath)
newClassPath - the new class-pathpublic java.lang.String getClassPath()
public java.util.Vector getLibraries(Archive archive)
protected java.lang.String getUniqueEntryFilenameFor(Archive archive,
java.lang.String trialName)
throws java.io.IOException
java.io.IOException
public void saveRuntimeInfo(java.io.File output)
throws java.io.IOException
java.io.IOException
public void applyRuntimeInfo(java.io.File runtimeDD,
java.io.File output)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseException
protected static java.io.File getTempFile(java.lang.String fileOrDirPath)
throws java.io.IOException
fileOrDirPath - path to a file or directory to use as temp location (use parent directory
if a file is provided)
java.io.IOExceptionpublic java.util.Vector getListOfFilesToSkip()
protected static java.io.File getTempFile(java.io.File fileOrDir)
throws java.io.IOException
fileOrDir - file or directory to use as temp location (use parent directory
if a file is provided)
java.io.IOException
protected static void addFileToArchive(WritableArchive archive,
java.lang.String filePath,
java.lang.String entryName)
throws java.io.IOException
archive - abstraction to use when adding the filefilePath - to the file to addentryName - the entry name in the archive
java.io.IOException
protected void copyJarElements(ReadableArchive in,
WritableArchive out,
java.util.Vector ignoreList)
throws java.io.IOException
in - jar fileout - jar fileignoreList - vector of entry name to not copy from to source jar file
java.io.IOException
protected boolean renameTmp(java.lang.String from,
java.lang.String to)
throws java.io.IOException
from - nameto - name
java.io.IOExceptionpublic void setArchiveUri(java.lang.String path)
public java.lang.String getPath()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - classLoaderpublic java.lang.ClassLoader getClassLoader()
public void setXMLValidation(boolean validate)
validate - set to true to turn on XML validationpublic boolean getXMLValidation()
public void setRuntimeXMLValidation(boolean validate)
validate - set to true to turn on XML validationpublic boolean getRuntimeXMLValidation()
public void setXMLValidationLevel(java.lang.String level)
public java.lang.String getXMLValidationLevel()
public void setRuntimeXMLValidationLevel(java.lang.String level)
public java.lang.String getRuntimeXMLValidationLevel()
public void validate(java.lang.ClassLoader aClassLoader)
public void copyInto(WritableArchive target)
throws java.io.IOException
target - the new archive to use to copy our contents into
java.io.IOException
public void copyInto(ReadableArchive source,
WritableArchive target)
throws java.io.IOException
source - the source archive to copy fromtarget - the target archive to copy to
java.io.IOException
public void copyInto(ReadableArchive source,
WritableArchive target,
boolean overwriteManifest)
throws java.io.IOException
source - the source archive to copy fromtarget - the target archive to copy tooverwriteManifest - if true, the manifest in source archive
overwrites the one in target archive
java.io.IOException
public void copyInto(ReadableArchive source,
WritableArchive target,
java.util.Vector entriesToSkip)
throws java.io.IOException
source - the source archive to copy fromtarget - the target archive to copy toentriesToSkip - the entries that will be skipped by target archive
java.io.IOException
public void copyInto(ReadableArchive source,
WritableArchive target,
java.util.Vector entriesToSkip,
boolean overwriteManifest)
throws java.io.IOException
source - the source archive to copy fromtarget - the target archive to copy toentriesToSkip - the entries that will be skipped by target archiveoverwriteManifest - if true, the manifest in source archive
overwrites the one in target archive
java.io.IOException
public void extractEntry(java.lang.String entryName,
java.io.File out)
throws java.io.IOException
entryName - entry nameout - file to copy the entry into
java.io.IOException
public void copyAnEntry(ReadableArchive in,
WritableArchive out,
java.lang.String entryName)
throws java.io.IOException
java.io.IOException
public void copyStandardDeploymentDescriptors(ReadableArchive in,
WritableArchive out)
throws java.io.IOException
java.io.IOException
public void copyExtraElements(ReadableArchive in,
WritableArchive out)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object readMetaInfo(ReadableArchive archive)
protected boolean isProcessAnnotation(T descriptor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||