On Thu, Dec 31, 2009 at 4:58 AM, Gavin King <gavin.king(a)gmail.com> wrote:
We should say that if this annotation is used on a class annotated
@Alternative, then it is only activated if the alternative is enabled.
Hrm. This also opens up a question about
@Resource/@PersistenceContext/etc. Is it expected that the container
validates these dependencies and fails deployment if they don't exist?
I think it is, right? At least, I think some containers behave this
way. Then we should say that this validation should *not* happen if
the annotation appears in a class annotated @Alternative. I have no
idea what the right language would be...
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org