I have tried interceptors on @Dependent bean on Jboss RI (Weld). I guess that their implementation also uses Proxy approach (BeanManager# getReference returns proxy instance). I have also tried to use not default constructor stuff. It throws exception. Their implementation is also problematic when using "public fields".
In the mean time, I guess there are some errors with their implementation. If one uses separate interceptor class, they uses proxy instance of dependent bean, otherwise uses actual bean instance. 2010/1/13 Joe Bergmark (JIRA) <[email protected]> > > [ > https://issues.apache.org/jira/browse/OWB-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Joe Bergmark updated OWB-151: > ----------------------------- > > Attachment: publicFieldTest.patch > > > @Dependent beans not interceptable > > ---------------------------------- > > > > Key: OWB-151 > > URL: https://issues.apache.org/jira/browse/OWB-151 > > Project: OpenWebBeans > > Issue Type: Bug > > Components: Interceptor and Decorators > > Affects Versions: M3 > > Reporter: Eric Covener > > Assignee: Joe Bergmark > > Fix For: M4 > > > > Attachments: publicFieldTest.patch > > > > Original Estimate: 48h > > Remaining Estimate: 48h > > > > @Dependent beans must be interceptable, although implementations are not > required to provide a client proxy for them. > > -- > 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
