You can return a Future from the @Async-annotated method.

http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/scheduling.html#scheduling-annotation-support-async


On Thu, May 20, 2010 at 5:52 PM, Alex Objelean <alex.objel...@gmail.com>wrote:

>
> Thanks for the hint. It is good to know about it.
> But how can you get the state of the task when using Async? When creating
> the thread myself, I can get an instance of Future and poll its state
> whenever I need.
>
> Alex
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/vote-Release-Wicket-1-4-9-tp2222388p2225298.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>

Reply via email to