That is expected behavior.  @Named uses javabean naming conventions to pick
the default name.
On Nov 12, 2012 5:05 AM, "Harald Wellmann" <[email protected]> wrote:

> I have a producer method
>
> @Produces @Named
> public String foo() { ... }
>
> and a matching injection point
>
> @Inject @Named("foo")
> private String foo;
>
> in some other bean.
>
> With OWB 1.1.6, injection fails, unless @Named("foo") is explicitly
> added to the producer method. Is this a known issue?
>
> Best regards,
> Harald
>

Reply via email to