[webbeans-dev] Spec draft with 330 annotations

Peter Royle howardmoon at screamingcoder.com
Mon Aug 17 19:43:04 EDT 2009


Hi,

Just for clarity, is the @Inject annotation mandatory now, even if you  
have a qualifying type. Eg, if you had:

@Inject @Casual Greeting hi;

Would this be equivalent:

@Casual Greeting hi;

In section 3.7.1 it says: "An injected field may be declared by  
annotating the field with any qualifier type.", but I couldn't find  
any examples that didn't use @Inject.

Cheers,

Pete.



On 18/08/2009, at 7:19 AM, Gavin King wrote:

> Changes in this draft:
>
> * use of JSR-330 annotations
> * Policy -> Alternative
> * @Observes(notify=...) -> @Observes(receives=....)
>
> There are a couple of other minor clarifications requested by the RI
> team, but these are the main changes.
>
> We still need to resolve this issue of static injection....
>
> -- 
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> <JSR-299-20090817.pdf>_______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090818/c87822ef/attachment.html 


More information about the weld-dev mailing list