On Wed, Apr 22, 2009 at 6:29 AM, Pete Muir <pmuir@redhat.com> wrote:

On 22 Apr 2009, at 10:16, Shane Bryzak wrote:

SeamLoginModule for example.

You need to access identity from here I think? Making this kind of association is harder using shared classloading, and you have to investigate each case individually - normally the best way to do it is to pass it using some context. In this case, I think you could probably use Configuration for this purpose. Anyway, point is, you can't safely use statics for wiring in modules anymore.

Amen. That's what made testing the internals of Seam so tricky.

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.