org.jsecurity.session.mgt.quartz
Class QuartzSessionValidationJob
java.lang.Object
org.jsecurity.session.mgt.quartz.QuartzSessionValidationJob
- All Implemented Interfaces:
- Job
public class QuartzSessionValidationJob
- extends Object
- implements Job
A quartz job that basically just calls the ValidatingSessionManager.validateSessions()
method on a configured session manager. The session manager will automatically be injected by the
superclass if it is in the job data map or the scheduler map.
- Since:
- 0.1
- Author:
- Jeremy Haile
|
Field Summary |
(package private) static String |
SESSION_MANAGER_KEY
Key used to store the session manager in the job data map for this job. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_MANAGER_KEY
static final String SESSION_MANAGER_KEY
- Key used to store the session manager in the job data map for this job.
- See Also:
- Constant Field Values
QuartzSessionValidationJob
public QuartzSessionValidationJob()
execute
public void execute(JobExecutionContext context)
throws JobExecutionException
- Called when the job is executed by quartz. This method delegates to the
validateSessions() method on the associated session manager.
- Specified by:
execute in interface Job
- Parameters:
context - the Quartz job execution context for this execution.
- Throws:
JobExecutionException
Copyright © 2004-2008 JSecurity.