ch.tatool.core.module.scheduler
Class AlwaysAllowModuleScheduler

java.lang.Object
  extended by ch.tatool.core.module.scheduler.AbstractModuleScheduler
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class ch.tatool.core.module.scheduler.AbstractModuleScheduler
AbstractModuleScheduler.ModuleSchedulerMessageImpl
 
Constructor Summary
AlwaysAllowModuleScheduler()
           
 
Method Summary
 boolean canUserTerminateSession(ModuleSession moduleSession)
           
 String getName()
           
 void initialize()
          Give the scheduler a chance to initialize.
 AbstractModuleScheduler.ModuleSchedulerMessageImpl isSessionStartAllowed(Module module)
           
 
Methods inherited from class ch.tatool.core.module.scheduler.AbstractModuleScheduler
getDataService, getModule, getSchedulerLastSessionDate, getSchedulerNumSessions, setDataService, setModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysAllowModuleScheduler

public AlwaysAllowModuleScheduler()
Method Detail

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.