org.ow2.jonas.ejb.easybeans
Class EJB3CleanTask
java.lang.Object
org.ow2.jonas.lib.work.AbsCleanTask
org.ow2.jonas.ejb.easybeans.EJB3CleanTask
- All Implemented Interfaces:
- org.ow2.jonas.workcleaner.CleanTask
public class EJB3CleanTask
- extends org.ow2.jonas.lib.work.AbsCleanTask
JOnAS EB3 unused directory clean task class. This class provides a way for
removing directories which are inconsistent directories for jar files.
- Author:
- Francois Fornaciari
|
Constructor Summary |
EJB3CleanTask(org.ow2.jonas.ejb3.IEasyBeansService easyBeansService,
org.ow2.jonas.lib.work.DeployerLog deployerLog)
Construct a new EAR clean task. |
|
Method Summary |
org.ow2.jonas.lib.work.DeployerLog |
getDeployerLog()
|
protected boolean |
isDeployedLogEntry(org.ow2.jonas.workcleaner.LogEntry logEntry)
Check if the package pointed by the log entry is currently deploy. |
| Methods inherited from class org.ow2.jonas.lib.work.AbsCleanTask |
execute, getLogEntries, getLogger, isValidLogEntry, removeLogEntry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB3CleanTask
public EJB3CleanTask(org.ow2.jonas.ejb3.IEasyBeansService easyBeansService,
org.ow2.jonas.lib.work.DeployerLog deployerLog)
- Construct a new EAR clean task.
- Parameters:
easyBeansService - IEasyBeansService referencedeployerLog - DeployerLog of the task
isDeployedLogEntry
protected boolean isDeployedLogEntry(org.ow2.jonas.workcleaner.LogEntry logEntry)
throws org.ow2.jonas.workcleaner.WorkCleanerException
- Check if the package pointed by the log entry is currently deploy.
- Specified by:
isDeployedLogEntry in class org.ow2.jonas.lib.work.AbsCleanTask
- Parameters:
logEntry - entry in a deploy log
- Returns:
- true if the package pointed by the log entry is currently deployed
- Throws:
org.ow2.jonas.workcleaner.WorkCleanerException - If the method fails
getDeployerLog
public org.ow2.jonas.lib.work.DeployerLog getDeployerLog()
-
- Specified by:
getDeployerLog in class org.ow2.jonas.lib.work.AbsCleanTask
- See Also:
AbsCleanTask.getDeployerLog()
Copyright © 2009 OW2 Consortium. All Rights Reserved.