We (Gavin for Red Hat) disputed that @Named should be a spec provided
qualifier, due to it promoting poor coding practices, however we were
over ruled.
Reusing it for defining the EL name does make sense semantically to
me. In general qualifiers are used in resolution, in the "by name"
case, we have a special qualifier. Whilst CDI and atinject don't
expose anything to JNDI, you could easily write an extension that used
@Named for this purpose.
On 4 Sep 2009, at 19:29, Dan Allen wrote:And there lies the problem of trying to use these as commonannotations. At this point I defer to Gavin because clearly it mustbe clarified in the spec. 299 doesn't deal with exposing a bean toJNDI unless I am overlooking something.- Dan AllenSent from my Android-powered G1 phone:An open platform for carriers, developersand consumers.On Sep 4, 2009 2:20 PM, "Mark Struberg" <struberg@yahoo.de> wrote:But in JSR-330 the @Named has nothing to do with EL! It's really aqualifier like e.g. a JNDI name or a named Spring bean!LieGrue, strub --- On Fri, 9/4/09, Dan Allen<dan.j.allen@gmail.com> wrote: > From: Dan Allen <da...Cc: webbeans-dev@lists.jboss.org, "Takeshi Kondo" <takeshi.kondo@gmail.comDate: Friday, September 4, 2009, 8:14 PMMy question was retorical. I don't > get how it is a qualifier.It violates the whole type-safety ..._______________________________________________webbeans-dev mailing listwebbeans-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/webbeans-dev
_______________________________________________
webbeans-dev mailing list
webbeans-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev