[webbeans-dev] Re: Patterns of reuse

Gavin King gavin at hibernate.org
Fri Nov 28 15:11:40 EST 2008


On Thu, Nov 27, 2008 at 4:09 PM, Gavin King <gavin at hibernate.org> wrote:

> An annotation could be used to identify the reuse pattern. Presumably,
> case 1 should be the default. @Specializes does seem like an
> appropriate mechanism for handling case 2, but I'm now not so certain
> about the name. We have not yet finished designing a mechanism for
> case 3, but an annotation on either the supertype or subtype would
> work.

@Specializes and @Realizes?


-- 
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