-
1. Re: JBossWorkManager waitForAll()
weston.price Mar 29, 2006 10:14 AM (in response to hannes.koller)This functionality is not within the WorkManagement API from the JCA spec, and thus isn't implemented in JBoss. More like as not it is an extension provided by other vendors. You could submit this as a feature request in JIRA.
-
2. Re: JBossWorkManager waitForAll()
hannes.koller Mar 30, 2006 2:12 AM (in response to hannes.koller)Hi,
thanks for your reply. I had already feared that this is not part of the JCA spec.. I will submit it as a feature request. Thanks :) -
3. Re: JBossWorkManager waitForAll()
weston.price Apr 3, 2006 2:57 AM (in response to hannes.koller)Note, there is nothing to prevent you from 'engineering' this yourself. Given n number of work instances, you just iterate over each one, callling doWork() or one of the other blocking methods from the WorkManagement API. Though, you should be careful about things like this as blocking in this case, depending upon the what you are trying to do, could have serious ramifications to both the startup (if you were doing something like this at bootstap) or general funcationality of the adapter itself. Sun recommonds WorkManagement calls being done in a non-blocking manner (ie scheduleWork()).