[weld-dev] Generic Decorator
Gavin King
gavin.king at gmail.com
Fri Dec 11 13:30:44 EST 2009
On Fri, Dec 11, 2009 at 1:28 PM, Marius Bogoevici <mariusb at 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 at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
More information about the weld-dev
mailing list