[jboss-dev-forums] [Design of EJB 3.0] - Re: Normal SFSB Business Methods named
ALRubinger
do-not-reply at jboss.com
Fri Dec 12 16:35:16 EST 2008
OK, I can't fix this in AOP, even by extracting and overriding the hashing scheme.
ClassAdvisor registers methods by the bean impl class:
Putting advised method: -956421528 / public int org.jboss.ejb3.core.test.stateful.StatefulBean.getNextCounter()
While we determine invoked method by interface:
Method called: org.jboss.ejb3.core.test.stateful.StatefulLocalBusiness: org.jboss.ejb3.core.test.stateful.StatefulCommonBusiness.getNextCounter()
| 16:19:59,161 WARN [SessionSpecContainer] Method Hash used: 1793199750
When I throw in a hashing function that takes declaring class into account, then this will not be equal. No method will match.
And without the declaring class into consideration, methods named similarly from different interfaces will collide.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196326#4196326
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196326
More information about the jboss-dev-forums
mailing list