[weld-dev] Context Management rewrite

Pete Muir pmuir at bleepbleep.org.uk
Mon Sep 20 19:01:28 EDT 2010


I have just pushed a rewrite of the Weld context management to master
- essentially you can now control the contexts by injecting them into
your classes, and calling methods to associate the context with e.g.
an Http request and then activate it etc. Tomorrow I will follow up
with improved javadocs and ref docs as well as few more tests to
validate the non-servlet conversations, the ability to change
conversations mid request and to test edge cases (primarily to ensure
that the contexts don't leak if the bean destruction fails) as well as
running the example selenium tests.

To accomodate this change in API, you will need to build AS from
https://svn.jboss.org/repos/jbossas/branches/known-good-weld-snapshot/
(note that Weld in AS trunk is unstable due to changes to Flavias work
on structured deployments right now) or download a built distro from
http://people.redhat.com/~pmuir/jboss-as-distribution-6.0.0-SNAPSHOT.zip
...

As always after such a large change, it's possible that the testsuite
didn't catch something, so shout if you see a problem.

-- 
Pete Muir
http://in.relation.to/Bloggers/Pete
http://www.seamframework.org


More information about the weld-dev mailing list