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:
- EJB 3.1 version.
- Author:
- Florent Benoit
- See Also:
- EJB 3.1 specification
second
public abstract String second
- Default:
- "0"
minute
public abstract String minute
- Default:
- "0"
hour
public abstract String hour
- Default:
- "0"
dayOfMonth
public abstract String dayOfMonth
- Default:
- "*"
month
public abstract String month
- Default:
- "*"
dayOfWeek
public abstract String dayOfWeek
- Default:
- "*"
year
public abstract String year
- Default:
- "*"
timezone
public abstract String timezone
- Default:
- ""
info
public abstract String info
- Default:
- ""
persistent
public abstract boolean persistent
- Default:
- true
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.