mottagio
unread,Oct 31, 2011, 1:14:10 PM10/31/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CDI Advocate
In the section "Advanced Using @Nonbinding to combine a configuration
annotation and a qaulifier annotation into one annotation", i don't
understand how does "retries=9" get injected...When i try, it is not.
In previous section, injection is performed in TransportFactory class,
but with a "static" instantiation of the injected member:
StandardAtmTransport transport = new
StandardAtmTransport();
transport.setRetries(transportConfig.retries());
I think some code is required to make the "@Nonbinding " sample work
that is not specified.
Please clarify, thank you