As I stated, given example commented on the JIRA is not valid. Please read my other comments.
2010/1/19 Gurkan Erdogdu <cgurkanerdo...@gmail.com> > Hi Mark; > > why do you reopen this issue? > > --Gurkan > > 2010/1/19 Mark Struberg (JIRA) <j...@apache.org> > > >> [ >> https://issues.apache.org/jira/browse/OWB-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] >> >> Mark Struberg reopened OWB-239: >> ------------------------------- >> >> >> As of section 3.3.8: >> > The default name for a producer method is the method name, unless the >> method follows the JavaBeans property getter >> > naming convention, in which case the default name is the JavaBeans >> property name. >> >> >> > JavaBeans property getter naming convention with Producer Methods gives >> UnsatisfiedResolutionException >> > >> ------------------------------------------------------------------------------------------------------ >> > >> > Key: OWB-239 >> > URL: https://issues.apache.org/jira/browse/OWB-239 >> > Project: OpenWebBeans >> > Issue Type: Bug >> > Components: Injection and Lookup >> > Affects Versions: M3 >> > Environment: Windows, Eclipse running Jetty >> > Reporter: Bill Wigger >> > Assignee: Gurkan Erdogdu >> > Fix For: M3 >> > >> > >> > Problem: >> > JavaBeans property getter naming convention with Producer Methods gives >> UnsatisfiedResolutionException >> > Injection in class X: >> > @Produces @Named public String getProducts() { >> > return "Sucess from getProducts"; >> > } >> > Injection Point in Y: >> > public @Inject @Named("products") String N3; >> > public String getTestNamed3() { >> > String y = N3; >> > return y; >> > } >> > Actual Results when getTestNamed3 is called from a JSP: >> > javax.enterprise.inject.UnsatisfiedResolutionException: Api type >> [java.lang.String] is not found with the qualifiers >> [...@javax.inject.named(value=products)] >> > at >> org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:93) >> > at >> org.apache.webbeans.container.InjectionResolver.getInjectionPointBean(InjectionResolver.java:232) >> > at >> org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:90) >> > etc.... >> > >> > Desired Results: >> > "Sucess from getProducts" >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> > > > -- > Gurkan Erdogdu > http://gurkanerdogdu.blogspot.com > -- Gurkan Erdogdu http://gurkanerdogdu.blogspot.com