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

Inherits org.objectweb.jonas_lib.deployment.work.AbsCleanTask.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JarCleanTask (DeployerLog jarDeployerLog)

Protected Member Functions

boolean isValidLogEntry (LogEntry logEntry) throws CleanerException
void removeLogEntry (LogEntry logEntry) throws CleanerException
Vector getLogEntries ()
boolean isDeployLogEntry (LogEntry logEntry) throws CleanerException

Detailed Description

JOnAS Jar unused copy clean task class. This class provides a way for removing copies wich are unconsistent for jar files.
Author:
Florent BENOIT

Benoit PELLETIER

Definition at line 43 of file JarCleanTask.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.work.JarCleanTask.JarCleanTask DeployerLog  jarDeployerLog  ) 
 

Default constructor : Construct a new cleaner.

Parameters:
jarDeployerLog the deployer logger

Definition at line 54 of file JarCleanTask.java.


Member Function Documentation

Vector org.objectweb.jonas_lib.deployment.work.JarCleanTask.getLogEntries  )  [protected, virtual]
 

Gets the log entries

Returns:
the log entries

Implements org.objectweb.jonas_lib.deployment.work.AbsCleanTask.

Definition at line 117 of file JarCleanTask.java.

References org.objectweb.jonas_lib.deployment.work.DeployerLog.getEntries().

Here is the call graph for this function:

boolean org.objectweb.jonas_lib.deployment.work.JarCleanTask.isDeployLogEntry LogEntry  logEntry  )  throws CleanerException [protected, virtual]
 

Check if the package pointed by the log entry is currently deploy

Parameters:
logEntry entry in a deploy log
Returns:
true if the package pointed by the log entry is currently deployed
Exceptions:
CleanerException if it fails

Implements org.objectweb.jonas_lib.deployment.work.AbsCleanTask.

Definition at line 127 of file JarCleanTask.java.

References org.objectweb.jonas.service.ServiceManager.getEjbService(), org.objectweb.jonas.service.ServiceManager.getInstance(), and org.objectweb.jonas.container.EJBService.isJarDeployedByWorkName().

Here is the call graph for this function:

boolean org.objectweb.jonas_lib.deployment.work.JarCleanTask.isValidLogEntry LogEntry  logEntry  )  throws CleanerException [protected, virtual]
 

Return true if the work copy exists and is up to date

Parameters:
logEntry entry in a deploy log
Returns:
true if the work copy exists and is up to date
Exceptions:
CleanerException if it fails

Implements org.objectweb.jonas_lib.deployment.work.AbsCleanTask.

Definition at line 65 of file JarCleanTask.java.

References org.objectweb.jonas_lib.deployment.work.AbsCleanTask.getLogger().

Here is the call graph for this function:

void org.objectweb.jonas_lib.deployment.work.JarCleanTask.removeLogEntry LogEntry  logEntry  )  throws CleanerException [protected, virtual]
 

Remove the work copy specified in the log entry and the log entry

Parameters:
logEntry entry in a deploy log
Exceptions:
CleanerException if it fails

Implements org.objectweb.jonas_lib.deployment.work.AbsCleanTask.

Definition at line 101 of file JarCleanTask.java.

References org.objectweb.jonas_lib.deployment.work.DeployerLog.removeEntry(), and org.objectweb.jonas_lib.deployment.work.AbsCleanTask.removeRecursiveDirectory().

Here is the call graph for this function:


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