I came across an interesting problem: Deployers register to the MainDeployer 
using their direct reference (this), so calls don't go through the MBeanServer 
and thus cannot be intercepted.

I can "trick" this by registering a dynamic proxy instead, but there seem to be 
some problems with deployers that downcast this to the subdeployer interface, 
or even the implementation class (e.g. RARDeployer).

So I think I'm going to handle this per case, for those subdeployer that want 
the interception capability (they'll have to be deployed as xmbean, too).

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

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


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to