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

List of all members.

Public Member Functions

 DeployerLog (File logFile) throws DeployerLogException
synchronized Vector getEntries ()
synchronized Vector removeEntry (LogEntry entry) throws DeployerLogException
synchronized Vector addEntry (File original, File copy) throws DeployerLogException

Static Protected Member Functions

Logger getLogger ()

Detailed Description

Class which permits to store or load the association between the name of an package and the timestamped work copy associated.
Author:
Florent Benoit

Ludovic Bert

Definition at line 53 of file DeployerLog.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.work.DeployerLog.DeployerLog File  logFile  )  throws DeployerLogException
 

Constructor for the deployerLog.

Parameters:
logFile the file which is used for read/write entries
Exceptions:
DeployerLogException if the loadentries failed.

Definition at line 80 of file DeployerLog.java.


Member Function Documentation

synchronized Vector org.objectweb.jonas_lib.deployment.work.DeployerLog.addEntry File  original,
File  copy
throws DeployerLogException
 

Add the entry and return the new entries

Parameters:
original the name of the file
copy the copy of the file
Returns:
the new vector of LogEntry item.
Exceptions:
DeployerLogException if the add can't be done

Definition at line 223 of file DeployerLog.java.

References org.objectweb.jonas_lib.deployment.work.LogEntry.getCopy(), and org.objectweb.jonas_lib.deployment.work.LogEntry.getOriginal().

Here is the call graph for this function:

synchronized Vector org.objectweb.jonas_lib.deployment.work.DeployerLog.getEntries  ) 
 

Return the entries of the file.

Returns:
a vector of LogEntry item.

Definition at line 187 of file DeployerLog.java.

Referenced by org.objectweb.jonas_lib.deployment.work.JarCleanTask.getLogEntries(), and org.objectweb.jonas_lib.deployment.work.EarCleanTask.getLogEntries().

Logger org.objectweb.jonas_lib.deployment.work.DeployerLog.getLogger  )  [static, protected]
 

Returns:
the logger

Definition at line 91 of file DeployerLog.java.

synchronized Vector org.objectweb.jonas_lib.deployment.work.DeployerLog.removeEntry LogEntry  entry  )  throws DeployerLogException
 

Remove the given entry and return the entries of the file.

Parameters:
entry the LogEntry which must be remove.
Returns:
the new vector of LogEntry item.
Exceptions:
DeployerLogException if the remove can't be done

Definition at line 197 of file DeployerLog.java.

Referenced by org.objectweb.jonas_lib.deployment.work.JarCleanTask.removeLogEntry(), and org.objectweb.jonas_lib.deployment.work.EarCleanTask.removeLogEntry().


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