[webbeans-dev] Specialized beans

Gavin King gavin.king at gmail.com
Wed Aug 26 19:49:55 EDT 2009


I've been discussing the following change with Pete:

Currently, the spec says that when a bean X is specialized by some
enabled bean Y, X is still considered enabled, and its producer
methods are also enabled, but they get called on Y instead of X.

However, the following is simpler to implement, specify, and probably
understand:

   When a bean X is specialized by an enabled bean Y, X and all its
producer methods are considered disabled.

This definition lets us get rid of the whole notion of "most
specialized enabled bean".

I'm attaching a spec which incorporates the necessary changes, mainly
in 4.3 and 5.2.

WDYT?

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JSR-299-20090826.pdf
Type: application/pdf
Size: 538557 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/weld-dev/attachments/20090826/79c927d3/attachment.pdf 


More information about the weld-dev mailing list