We discussed this in Boston, but I want to make sure you agree with my summary. http://jira.jboss.com/jira/browse/JBAOP-82
Do you plan to support proxies on non-weaved code? I had a look at the current proxy implementation, the EJB3 and new JMS usage (which all do different but similar things). But all of them require weaving of the target object (mainly through the assumption that there is a ClassAdvisor). The only mechanism to dispatch to non-weaved code seems to be with ProxyMixins, but these don't allow advice/interceptors and also require javassist generated classes. You can make it work if you want to create your own interceptors and do insertInterceptor() by hand, but this does not work if you want to use scopes/domains or externalize the configuration. I'm pretty certain this isn't the intended usage. I got very confused by some of the names of the different advisor classes, it is not very clear what the intention of each is supposed to be? Of course this is mostly my unfamialirty with the code as a re-newbie ;-) My interest in this is for the annotated deployment of a javabean into an MBean. Within JBoss it is fine to be able to weave javabean to add the mixin using @MBean since we control the classloader, but for the standalone JMX this may not be possible so we need to fallback to a nonweaved class with a proxy using the same interceptors. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874342#3874342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874342 ------------------------------------------------------- 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