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:
- CleanTask
public class EJB3CleanTask
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB3CleanTask
public EJB3CleanTask(IEasyBeansService easyBeansService,
DeployerLog deployerLog)
- Construct a new EAR clean task.
- Parameters:
easyBeansService
- IEasyBeansService referencedeployerLog
- DeployerLog of the task
isDeployedLogEntry
protected boolean isDeployedLogEntry(LogEntry logEntry)
throws WorkCleanerException
- Check if the package pointed by the log entry is currently deploy.
- Specified by:
isDeployedLogEntry
in class AbsCleanTask
- Parameters:
logEntry
- entry in a deploy log
- Returns:
- true if the package pointed by the log entry is currently deployed
- Throws:
WorkCleanerException
- If the method fails
getDeployerLog
public DeployerLog getDeployerLog()
- Returns the
DeployerLog
of the task.
- Specified by:
getDeployerLog
in class AbsCleanTask
- Returns:
- The DeployerLog of the task
- See Also:
AbsCleanTask.getDeployerLog()
Copyright © 2010 OW2 Consortium. All Rights Reserved.