org.jboss.seam.cron.api.scheduling
Annotation Type Every


@Qualifier
@Retention(value=RUNTIME)
@Target(value={PARAMETER,METHOD,FIELD,TYPE})
public @interface Every

The annotation which accompanies scheduled events which observe every event in a particular schedule. Eg: public void doSomething( @Observes @Every(MINUTE) Trigger t) will observe the event fired every minute.

Author:
Peter Royle

Required Element Summary
 Interval value
           
 
Optional Element Summary
 int nth
           
 

Element Detail

value

public abstract Interval value

nth

public abstract int nth
Default:
1


Copyright © 2011 Seam Framework. All Rights Reserved.