[cdi-dev] Back on bean defining annotations
Antoine Sabot-Durand
antoine at sabot-durand.net
Wed Mar 19 11:30:50 EDT 2014
Hi all,
Im’ back with the main subject of this MR.
To resolve CDI-377 we decided to exclude from the « Bean defining annotations » set, all Pseudo Scope type (scope annotation having the meta annotation @Scope) except @Dependent.
So all normal scope annotation (built-in and user defined) are Bean Defining Annotation.
Now what about a normal scope added with :
1) BeforeBeanDiscovery.addScope(MyFirstScope.class,true,<true | false>) ?
And a pseudo scope added with :
2) BeforeBeanDiscovery.addScope(MySecondScope.class,false,<true | false>) ?
For me MyFirstScope (defined in 1) should be a bean defining annotation while MySecondScope shouldn’t.
Any thought ?
Antoine
-------------- 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/20140319/b089b8b7/attachment.bin
More information about the cdi-dev
mailing list