[cdi-dev] Vote on CDI-408 bean-discovery-mode="annotated" and Producers/Observers in @Dependent beans

Antoine Sabot-Durand antoine at sabot-durand.net
Wed Mar 12 07:04:28 EDT 2014

Hi all,

Vote is open between the following options :

1) Add to the bean defining annotation list @Produces and @Observes. That will add to the list annotations inside a class.
2) Detect @Produces and @Observes in class that don't have bean defining annotation and warn the user at boot time. It seems to be a work very close to previous point in term of scanning.
3) Do nothing in the container and only document in spec the fact that in annotated mode these will be ignored silently.

Vote on the JIRA ticket please.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.jboss.org/pipermail/cdi-dev/attachments/20140312/45046c4d/attachment.bin 

More information about the cdi-dev mailing list