com.google.code.rees.scope.conversation.context
Class SchedulerShutdownListener

java.lang.Object
  extended by com.google.code.rees.scope.conversation.context.SchedulerShutdownListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

@WebListener
public class SchedulerShutdownListener
extends Object
implements javax.servlet.ServletContextListener


Constructor Summary
SchedulerShutdownListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
static ScheduledExecutorService getScheduler()
           
static void setScheduler(ScheduledExecutorService scheduler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerShutdownListener

public SchedulerShutdownListener()
Method Detail

setScheduler

public static void setScheduler(ScheduledExecutorService scheduler)

getScheduler

public static ScheduledExecutorService getScheduler()

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2012-2013. All Rights Reserved.