ch.tatool.core.module.scheduler
Class AlwaysAllowModuleScheduler
java.lang.Object
ch.tatool.core.module.scheduler.AbstractModuleScheduler
ch.tatool.core.module.scheduler.AlwaysAllowModuleScheduler
- All Implemented Interfaces:
- ModuleScheduler
public class AlwaysAllowModuleScheduler
- extends AbstractModuleScheduler
Always allows creating new sessions and does not impose any limits on the session duration.
The user can terminate a session any time.
- Author:
- Michael Ruflin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysAllowModuleScheduler
public AlwaysAllowModuleScheduler()
initialize
public void initialize()
- Give the scheduler a chance to initialize.
getName
public String getName()
canUserTerminateSession
public boolean canUserTerminateSession(ModuleSession moduleSession)
isSessionStartAllowed
public AbstractModuleScheduler.ModuleSchedulerMessageImpl isSessionStartAllowed(Module module)
Copyright © 2012. All Rights Reserved.