The ServerInvoker doesn't use the ServerInvocationHandler instance to process 
callbacks. It uses CallbackContainer instances.  It also doesn't use the 
ServerInvocationHandler instance to register callback listeners, either.

Look at ServerInvoker.handlerInternalInvocation(). For ADDCLIENTLISTENER, the 
"handler" reference is never used, the implementation doesn't care whether is 
null or not. 

It is an artificial requirement that the client code must add an unnecessary 
handler, which has no connection with the handler that actually does the job. I 
would refine a little bit more ServerInvoker.invoke(InvocationRequest 
invocation) method instead. 





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871568#3871568

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871568


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to