Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Anybody know how to pass cflow information across thread borders?

Hello,

I am trying something that's really close to the Wormhole pattern in
Ramnivas Laddad's book. However, this does not seem to work when I cross
thread borders: apparently the cflow "breaks" accross thread borders. The
result is that the "called" aspect can not retrieve context from the
"caller" aspect.

I wonder if anyone knows a way to uniquely identify a cflow, so that I
could store that id (and extra data) somewhere, so the aspect lower down
the stack can retrieve the data? Since I'm in an EJB context, maybe
somebody knows a J2EE "context thingy" that is constant, even across
remote calls?

Grtz,

Serge.

Serge Beaumont
Technical Software Architect
Sogeti Nederland BV
020-6606600 (+0391)
serge.beaumont@xxxxxxxxx
www.sogeti.nl



Disclaimer:
This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



Back to the top