[webbeans-dev] Fwd: Patterns of reuse

Gavin King gavin at hibernate.org
Tue Dec 2 15:30:11 EST 2008


FYI

---------- Forwarded message ----------
From: Jason T. Greene <jason.greene at redhat.com>
Date: Tue, Dec 2, 2008 at 11:37 AM
Subject: Re: Patterns of reuse
To: JSR-299-EG at jcp.org


Gavin King wrote:

-snip=

> Let's categorize them:
>
> Things that probably should never inherit:
> * deployment type
>
> Things that probably should always inherit:
> * scope
> * stereotypes
> * initializer methods + injected fields
> * type-level interceptor bindings
> * method-level interceptor bindings

An interesting problem with this is that stereotypes can reference
deployment types. If stereotypes are allowed to be inherited, what
happens to the referenced deployment type? Is it ignored?

--
Jason T. Greene
JBoss, a division of Red Hat



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