javax.ejb
Annotation Type Schedule


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Schedule

Schedule a timer for automatic creation with a timeout schedule based on a cron-like time expression. The annotated method is used as the timeout callback method.

Since:
3.1
Version:
$Revision: $
Author:
Carlo de Wolf

Optional Element Summary
 String dayOfMonth
           
 String dayOfWeek
           
 String hour
           
 String info
           
 String minute
           
 String month
           
 boolean persistent
           
 String second
           
 String timezone
           
 String year
           
 

dayOfMonth

public abstract String dayOfMonth
Default:
"*"

dayOfWeek

public abstract String dayOfWeek
Default:
"*"

hour

public abstract String hour
Default:
"0"

info

public abstract String info
Default:
""

minute

public abstract String minute
Default:
"0"

month

public abstract String month
Default:
"*"

persistent

public abstract boolean persistent
Default:
true

second

public abstract String second
Default:
"0"

timezone

public abstract String timezone
Default:
""

year

public abstract String year
Default:
"*"


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.