Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
09. Jun 2008, 15:47 CET | Link

Hi all,

It seems that the asynchronous handling in Seam does not propagate the current identity component in the newly created thread session context. Is there some other way to know who started an asynchronous call ?

2 Replies:
09. Jun 2008, 20:24 CET | Link

You could probably supply the identity as a parameter to the async call.


@Async..
public void doStuff(Identity identity) {

}
10. Jun 2008, 11:06 CET | Link

I came to the same conclusion. I was just wondering if there was something more 'automatic'. It is not extremely elegant to have this parameter in all asynchronous calls.