org.openscience.nmrshiftdb.daemons
Class DeleteOldMolfiles

java.lang.Object
  extended by org.openscience.nmrshiftdb.daemons.AbstractDaemon
      extended by org.openscience.nmrshiftdb.daemons.AbstractDaemonWithServletConfig
          extended by org.openscience.nmrshiftdb.daemons.DeleteOldMolfiles
All Implemented Interfaces:
java.lang.Runnable, org.apache.jetspeed.daemon.Daemon

public class DeleteOldMolfiles
extends AbstractDaemonWithServletConfig

A daemon that deletes all mol files and files needed for export older than 60 minutes

Author:
Stefan Kuhn

Field Summary
 
Fields inherited from interface org.apache.jetspeed.daemon.Daemon
RESULT_FAILED, RESULT_PROCESSING, RESULT_SUCCESS, RESULT_UNKNOWN, STATUS_NOT_PROCESSED, STATUS_NOT_STARTED, STATUS_PROCESSED, STATUS_PROCESSING, STATUS_STARTED, STATUS_UNKNOWN
 
Constructor Summary
DeleteOldMolfiles()
           
 
Method Summary
 void run(javax.servlet.ServletConfig servcon)
          Does the task
 
Methods inherited from class org.openscience.nmrshiftdb.daemons.AbstractDaemonWithServletConfig
run
 
Methods inherited from class org.openscience.nmrshiftdb.daemons.AbstractDaemon
getDaemonConfig, getDaemonEntry, getMessage, getResult, getStatus, init, setResult, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteOldMolfiles

public DeleteOldMolfiles()
Method Detail

run

public void run(javax.servlet.ServletConfig servcon)
Does the task

Specified by:
run in class AbstractDaemonWithServletConfig