[jboss-dev-forums] [Design of EJB 3.0] - Re: Normal SFSB Business Methods named
ALRubinger
do-not-reply at jboss.com
Sat Dec 13 23:13:30 EST 2008
I've been playing with registering the virtual methods of the interfaces instead of the bean impl class. This, coupled with an overriding hash function to take the declaring class of a method into account, moves us forward in terms of getting at whether we have a business or component "remove" method called.
However, it fails the following case:
@Stateless
| @Remote(MyRemoteBusiness.class)
| public class MyBean{...}
...because MyBean is not assignable to MyRemoteBusiness, MethodInvocation gives us a nice IllegalArgumentException.
I think I'm done messing with this and AOP for now. Patches in progress attached to :
https://jira.jboss.org/jira/browse/EJBTHREE-1621
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196379#4196379
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196379
More information about the jboss-dev-forums
mailing list