deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r915593 - in /websites/staging/deltaspike/trunk/content: ./ scheduler.html
Date Wed, 09 Jul 2014 18:17:03 GMT
Author: buildbot
Date: Wed Jul  9 18:17:02 2014
New Revision: 915593

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/scheduler.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul  9 18:17:02 2014
@@ -1 +1 @@
-1608283
+1609253

Modified: websites/staging/deltaspike/trunk/content/scheduler.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/scheduler.html (original)
+++ websites/staging/deltaspike/trunk/content/scheduler.html Wed Jul  9 18:17:02 2014
@@ -81,6 +81,7 @@
               <div class="toc">
 <ul>
 <li><a href="#intro">Intro</a></li>
+<li><a href="#external-dependencies">External Dependencies</a></li>
 <li><a href="#scheduled">@Scheduled</a></li>
 <li><a href="#manual-scheduler-control">Manual Scheduler Control</a></li>
 <li><a href="#custom-scheduler">Custom Scheduler</a></li>
@@ -89,6 +90,16 @@
 <hr />
 <h1 id="intro">Intro</h1>
 <p>This module provides a simple integration with Quartz v2 (per default) or any other
scheduler which supports cron-expressions for job-classes.</p>
+<h1 id="external-dependencies">External Dependencies</h1>
+<p>If you would like to use the default-integration with quartz (which is optional),
you have to add quartz 2.x.</p>
+<div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
+    <span class="nt">&lt;groupId&gt;</span>org.quartz-scheduler<span
class="nt">&lt;/groupId&gt;</span>
+    <span class="nt">&lt;artifactId&gt;</span>quartz<span class="nt">&lt;/artifactId&gt;</span>
+    <span class="nt">&lt;version&gt;</span>2.2.1<span class="nt">&lt;/version&gt;</span>
+<span class="nt">&lt;/dependency&gt;</span>
+</pre></div>
+
+
 <h1 id="scheduled">@Scheduled</h1>
 <p>Just annotate your Quartz-Jobs with <code>@Scheduled</code> and they
will get picked up and passed to the scheduler automatically (during the bootstrapping process).</p>
 <div class="codehilite"><pre><span class="nd">@Scheduled</span><span
class="o">(</span><span class="n">cronExpression</span> <span class="o">=</span>
<span class="s">&quot;0 0/10 * * * ?&quot;</span><span class="o">)</span>
@@ -166,7 +177,7 @@ That can be controlled via <code>@Schedu
 </pre></div>
 
 
-<p>or with DeltaSpike v0.7+</p>
+<p>or</p>
 <div class="codehilite"><pre><span class="nt">&lt;alternatives&gt;</span>
   <span class="nt">&lt;class&gt;</span>org.apache.deltaspike.scheduler.impl.QuartzSchedulerProducer<span
class="nt">&lt;/class&gt;</span>
 <span class="nt">&lt;/alternatives&gt;</span>



Mime
View raw message