Added the Quartz listener to cf-tweetstore-spring for CRON functionality

This commit is contained in:
Andrew Phillips 2012-04-11 17:29:13 -04:00
parent e24e8cd98c
commit 6f6790d9d3
1 changed files with 11 additions and 1 deletions

View File

@ -24,10 +24,20 @@
version="2.5">
<display-name>jclouds-tweetstore</display-name>
<context-param>
<param-name>quartz:scheduler-context-servlet-context-key</param-name>
<param-value>servlet-context</param-value>
</context-param>
<!-- must be started first -->
<listener>
<listener-class>org.jclouds.demo.paas.config.PlatformServicesInitializer</listener-class>
</listener>
<listener>
<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
</listener>
<!-- Servlets -->
<servlet>
<servlet-name>dispatcher</servlet-name>