[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations/timer ...
Michael Yuan
michael.yuan at jboss.com
Mon Jun 4 21:06:05 EDT 2007
User: myuan
Date: 07/06/04 21:06:05
Added: src/main/org/jboss/seam/annotations/timer Cron.java
Log:
initial support for cron job in QuartzDispatcher. Will update the examples soon .
Revision Changes Path
1.1 date: 2007/06/05 01:06:05; author: myuan; state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/timer/Cron.java
Index: Cron.java
===================================================================
package org.jboss.seam.annotations.timer;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* The unix cron expression to specify the frequency
* and other conditions for the repeating asynchronous call
* to be invoked (after the initial delay specified in Expiration
* or Duration parameters). If this parameter is set, the
* IntervalDuration parameter will have no effect.
*
* This annotation occurs on a parameter of type String
* of a method marked @Asynchronous.
*
* @author Michael Yuan
*
*/
@Target(PARAMETER)
@Retention(RUNTIME)
@Documented
public @interface Cron
{
}
More information about the jboss-cvs-commits
mailing list