org.japtproxy.misc
Class ShutdownEventListener

java.lang.Object
  extended by org.japtproxy.misc.ShutdownEventListener
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationListener

public class ShutdownEventListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener

Version:
$LastChangedRevision: 116 $
Author:
Oliver J. Siegmar

Constructor Summary
ShutdownEventListener()
           
 
Method Summary
 void executeJobs()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 void setScheduler(org.quartz.Scheduler scheduler)
           
 void setTasksToExecute(java.lang.String[] tasksToExecute)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownEventListener

public ShutdownEventListener()
Method Detail

setScheduler

public void setScheduler(org.quartz.Scheduler scheduler)

setTasksToExecute

public void setTasksToExecute(java.lang.String[] tasksToExecute)

shutdown

public void shutdown()

executeJobs

public void executeJobs()
                 throws org.quartz.SchedulerException
Throws:
org.quartz.SchedulerException

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener


Copyright © 2006-2008. All Rights Reserved.