30 Mar
2011
30 Mar
'11
12:28 p.m.
Hi devs, I'd like to propose to deprecate the "value" and "hints" fields of @Component and instead use the @Named annotation (and @Qualifier annotations later on). The rationale is to align with JSR330's @Named annotation at injection points and also to start going in the direction of CDI (JSR299) since CDI uses @Named for beans too. Example before: @Component("hint") public class MyComponent... After: @Component @Named("hint") public class MyComponent Here's my +1 Thanks -Vincent