magoffin.matt.ma2.job
Class RemoveStaleRegistrationsJob

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by magoffin.matt.ma2.job.RemoveStaleRegistrationsJob
All Implemented Interfaces:
org.quartz.Job

public class RemoveStaleRegistrationsJob
extends org.springframework.scheduling.quartz.QuartzJobBean

Job to clean out old unconfirmed registrations.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Field Summary
static int DEFAULT_MIN_DAYS_OLD
          The default value for the minDaysOld property.
 
Constructor Summary
RemoveStaleRegistrationsJob()
           
 
Method Summary
protected  void executeInternal(org.quartz.JobExecutionContext context)
           
 int getMinDaysOld()
           
 UserDao getUserDao()
           
 void setMinDaysOld(int minDaysOld)
           
 void setUserDao(UserDao userDao)
           
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MIN_DAYS_OLD

public static final int DEFAULT_MIN_DAYS_OLD
The default value for the minDaysOld property.

See Also:
Constant Field Values
Constructor Detail

RemoveStaleRegistrationsJob

public RemoveStaleRegistrationsJob()
Method Detail

executeInternal

protected void executeInternal(org.quartz.JobExecutionContext context)
                        throws org.quartz.JobExecutionException
Specified by:
executeInternal in class org.springframework.scheduling.quartz.QuartzJobBean
Throws:
org.quartz.JobExecutionException

getMinDaysOld

public int getMinDaysOld()
Returns:
the minDaysOld

setMinDaysOld

public void setMinDaysOld(int minDaysOld)
Parameters:
minDaysOld - the minDaysOld to set

getUserDao

public UserDao getUserDao()
Returns:
the userDao

setUserDao

public void setUserDao(UserDao userDao)
Parameters:
userDao - the userDao to set