I'm trying to decide if we want to support @Produces on fields. i.e.
@Produces Foo foo;
is equivalent to:
Foo foo;
@Produces Foo getFoo() { return foo; }
Evan from Sybase has requested it in the Web Beans EG, and I'm
sympathetic b/c it throws a bone to Seam folks who love outjection.
Note, however, that it is not exactly the same as outjection .... the
object only gets bound to the context if someone requests it.
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org