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

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

this is a dynamic proxy that wraps the block support, the handler goes through the 
MBean server to call the actual block.



for instance : proxy.setSide(0) will do :



proxy.setSide(0)

-> invocationHandler.invoke(m, new Object[]{new Integer(0)}

-> server.setAttribute("Side", new Integer(0));

-> block.setSide(0)



you would say me, what the interest of that ? instead of giving the actual reference 
of the block ?



the interest is that is the you undeploy the block, it does it nicely because the 
proxy client does not have a reference on the class.




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to