[jboss-dev-forums] [JBoss AS 7 Development] - Re: JBossAS 7.1.3.CR1: JBoss Solder doesn't work anymore
Marko Lukša
do-not-reply at jboss.com
Mon Sep 24 10:21:16 EDT 2012
Marko Lukša [https://community.jboss.org/people/luksa] created the discussion
"Re: JBossAS 7.1.3.CR1: JBoss Solder doesn't work anymore"
To view the discussion, visit: https://community.jboss.org/message/761143#761143
--------------------------------------------------------------
This is apparently caused by the changes made in https://issues.jboss.org/browse/WELD-992 https://issues.jboss.org/browse/WELD-992
Methods added through AfterBeanDiscovery.addObserverMethod() previously didn't fire an event, but now they do. And the event actually has the annotatedMethod set to null (see line 45 at https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/bootstrap/events/ProcessObserverMethodImpl.java#L45 https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/bootstrap/events/ProcessObserverMethodImpl.java#L45 )
Basically, Solder needs to handle the null, since it looks like there's no way to get the AnnotatedMethod from the ObserverMethod passed to addObserverMethod (at least for now... need to see what CDI1.1 says about this).
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761143#761143]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120924/ad37d79e/attachment.html
More information about the jboss-dev-forums
mailing list