[
http://jira.jboss.com/jira/browse/JBSEAM-1450?page=comments#action_12365680 ]
Michael Yuan commented on JBSEAM-1450:
--------------------------------------
The problem with holidays is that they are different in each country / region / company.
So, we can only configure a default set of excluded days such as weekends. But pretty much
all other holidays have to be specified by the app developer.
I suppose we can detect the locale of the server and then supplement a list of
"national" holidays for that locale (e.g., July 4th for us-en) -- so that the
user does not need to input those common holidays.
I agree that we can move the @Interval annotation to the method level. It probably makes
the code easier to read since you can easily tell one-off async methods from repeating
async methods now. Is that what you had in mind?
Pass Quartz Trigger and end time in @Asynchronous methods
---------------------------------------------------------
Key: JBSEAM-1450
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1450
Project: JBoss Seam
Issue Type: Task
Components: Core
Reporter: Michael Yuan
Assigned To: Michael Yuan
Fix For: 1.3.0.BETA1
We should write a QuartzTriggerSchedule class to wrap a Quartz Trigger. It would allow
the user to build their own triggers and then use @Trigger trigger to pass to a async
method. We can provide that in addition to the current support for fixed interval and cron
jobs.
Also, we should support a @End parameter to specify the end date of the repeating task.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira