org.objectweb.jonas_lib.deployment.work.EarFileManager Class Reference

Inherits org.objectweb.jonas_lib.deployment.work.FileManager.

Inheritance diagram for org.objectweb.jonas_lib.deployment.work.EarFileManager:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_lib.deployment.work.EarFileManager:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

URL unpackEar (URL urlFileName, URL urlDirName) throws FileManagerException
URL unpackEar (URL urlFileName, URL urlDirName, boolean useTimeStamp) throws FileManagerException

Static Protected Member Functions

boolean isUnpackedEar (URL urlFileName, URL urlDirName) throws FileManagerException

Detailed Description

JOnAS Ear File manager. This class provides a way for managing the EAR files.
Author:
Florent Benoit

Ludovic Bert

Nicolas Van Caneghem <nicolas.vancaneghem@openpricer.com>Allow the deployment of an exploded ear

Definition at line 45 of file EarFileManager.java.


Member Function Documentation

boolean org.objectweb.jonas_lib.deployment.work.EarFileManager.isUnpackedEar URL  urlFileName,
URL  urlDirName
throws FileManagerException [static, protected]
 

true If an unpacked directory has the same timestamp than the EAR file, false otherwise.

Parameters:
urlFileName the url of the name of the EAR file (ends with the .ear extension).
urlDirName the url of the directory where the file must be unpacked.
Returns:
true If an unpacked directory has the same timestamp than the EAR file, false otherwise.
Exceptions:
FileManagerException if the file doesn't exist

Definition at line 65 of file EarFileManager.java.

References org.objectweb.jonas_lib.deployment.work.FileManager.fileToTimeStampDir().

Referenced by org.objectweb.jonas_lib.deployment.work.EarFileManager.unpackEar().

Here is the call graph for this function:

URL org.objectweb.jonas_lib.deployment.work.EarFileManager.unpackEar URL  urlFileName,
URL  urlDirName,
boolean  useTimeStamp
throws FileManagerException [static]
 

Unpack the given EAR file to the specified directory.

Parameters:
urlFileName the url of the name of the EAR file to unpack.
urlDirName the url of the destination directory where is unpacked the EAR file.
useTimeStamp use timestamping for unpacking the EAR or not
Returns:
the url of the unpacked directory
Exceptions:
FileManagerException if we can't unpack the file.

Definition at line 101 of file EarFileManager.java.

References org.objectweb.jonas_lib.deployment.work.FileManager.dump(), org.objectweb.jonas_lib.deployment.work.FileManager.fileToTimeStampDir(), and org.objectweb.jonas_lib.deployment.work.EarFileManager.isUnpackedEar().

Here is the call graph for this function:

URL org.objectweb.jonas_lib.deployment.work.EarFileManager.unpackEar URL  urlFileName,
URL  urlDirName
throws FileManagerException [static]
 

Unpack the given EAR file to the specified directory.

Parameters:
urlFileName the url of the name of the EAR file to unpack.
urlDirName the url of the destination directory where is unpacked the EAR file.
Returns:
the url of the unpacked directory
Exceptions:
FileManagerException if we can't unpack the file.

Definition at line 88 of file EarFileManager.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:27 2005 for JOnAS by  doxygen 1.3.9.1