[weld-issues] [JBoss JIRA] Created: (WELD-546) Beans producing stuff have their proxies proxying the product

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Sat Jun 5 17:14:25 EDT 2010


Beans producing stuff have their proxies proxying the product
-------------------------------------------------------------

                 Key: WELD-546
                 URL: https://jira.jboss.org/browse/WELD-546
             Project: Weld
          Issue Type: Bug
          Components: Producers (Methods, Fields and Disposers)
    Affects Versions: 1.0.1.Final
            Reporter: Nicklas Karlsson
            Assignee: David Allen


Given

@Model
public class GreetingBean {
	@Produces
	@Model
	Greeting greeting = new Greeting();

	public void ping() {
	}
}

#{greetingBean.ping} gives an "Method not found" exception because the GreetingBean_$$_WeldProxy is actually proxing Greeting

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list