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.


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

second

public abstract java.lang.String second
Default:
"0"

minute

public abstract java.lang.String minute
Default:
"0"

hour

public abstract java.lang.String hour
Default:
"0"

dayOfMonth

public abstract java.lang.String dayOfMonth
Default:
"*"

month

public abstract java.lang.String month
Default:
"*"

dayOfWeek

public abstract java.lang.String dayOfWeek
Default:
"*"

year

public abstract java.lang.String year
Default:
"*"

timezone

public abstract java.lang.String timezone
Default:
""

info

public abstract java.lang.String info
Default:
""

persistent

public abstract boolean persistent
Default:
true


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34