public class QuartzSessionValidationScheduler
extends java.lang.Object
implements org.apache.shiro.session.mgt.SessionValidationScheduler
限定符和类型 | 字段和说明 |
---|---|
static long |
DEFAULT_SESSION_VALIDATION_INTERVAL |
构造器和说明 |
---|
QuartzSessionValidationScheduler() |
QuartzSessionValidationScheduler(org.apache.shiro.session.mgt.ValidatingSessionManager sessionManager) |
限定符和类型 | 方法和说明 |
---|---|
void |
disableSessionValidation() |
void |
enableSessionValidation() |
protected org.quartz.Scheduler |
getScheduler() |
boolean |
isEnabled() |
void |
setScheduler(org.quartz.Scheduler scheduler) |
void |
setSessionManager(org.apache.shiro.session.mgt.ValidatingSessionManager sessionManager) |
void |
setSessionValidationInterval(long sessionValidationInterval) |
public static final long DEFAULT_SESSION_VALIDATION_INTERVAL
public QuartzSessionValidationScheduler()
public QuartzSessionValidationScheduler(org.apache.shiro.session.mgt.ValidatingSessionManager sessionManager)
protected org.quartz.Scheduler getScheduler() throws org.quartz.SchedulerException
org.quartz.SchedulerException
public void setScheduler(org.quartz.Scheduler scheduler)
public void setSessionManager(org.apache.shiro.session.mgt.ValidatingSessionManager sessionManager)
public boolean isEnabled()
isEnabled
在接口中 org.apache.shiro.session.mgt.SessionValidationScheduler
public void setSessionValidationInterval(long sessionValidationInterval)
public void enableSessionValidation()
enableSessionValidation
在接口中 org.apache.shiro.session.mgt.SessionValidationScheduler
public void disableSessionValidation()
disableSessionValidation
在接口中 org.apache.shiro.session.mgt.SessionValidationScheduler