On Fri, Dec 11, 2009 at 1:28 PM, Marius Bogoevici <mariusb(a)redhat.com> wrote:
I am wondering if the spec could consider a special
stereotype/annotation to
indicate beans which would normally be eligible to be managed beans, but
shouldn't, because there is no intent of using them directly like that.
Well, you already have so many options:
* "abstract"
* @Alternative
* an @Alternative stereotype
* a qualifier
* @Any
* deploy in an archive without a beans.xml
* veto() the class from a portable extension
* don't give it a default constructor
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org