On Thu, 30 Aug 2001, Lennart Petersson wrote:
> I'm debugging through the code to see what is happening within JBoss and within our
>beans to see where i can tune to get better performance. Using JBoss 2.4.0 final.
>
> Can someone explain why we aren't returning m in this code snippet:
>
> In class org.jboss.ejb.plugins.jrmp.interfaces.RemoteMethodInvocation
>
> public Method getMethod()
> {
> Method m = (Method)methodMap.get(new Long(hash));
>
> if (m == null)
> throw new NullPointerException("METHOD IS NOT FOUND:"+hash+" "+methodMap);
>
> return (Method)methodMap.get(new Long(hash));
> }
Well, I actually didn't look into the code. Perhaps I can help you to find
it out yourself by providing some hints:
o Method is not serializable
o getClass().getMethod("name", types) !=
getClass().getInterfaces()[i].getMethod("name", types)
o the methodMap is built once (e.g. at deploy time) or lazy?
Holger
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development