org.ow2.jonas.ejb2.internal
Class JarCleanTask
java.lang.Object
org.ow2.jonas.lib.work.AbsCleanTask
org.ow2.jonas.ejb2.internal.JarCleanTask
- All Implemented Interfaces:
- CleanTask
public class JarCleanTask
- extends AbsCleanTask
JOnAS JAR unused directory clean task class. This class provides a way for removing directories which are inconsistent
directories for jar files.
- Author:
- Florent BENOIT, Benoit PELLETIER
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarCleanTask
public JarCleanTask(JOnASEJBService ejbService,
DeployerLog deployerLog)
- Construct a new EAR clean task.
- Parameters:
ejbService - EJBService 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 it fails
getDeployerLog
public DeployerLog getDeployerLog()
-
- Specified by:
getDeployerLog in class AbsCleanTask
- See Also:
AbsCleanTask.getDeployerLog()
setEjbService
public void setEjbService(JOnASEJBService ejbService)
Copyright © 2009 OW2 Consortium. All Rights Reserved.