I have a standalone app that supports a plugin framework - each plugin has its 
own classloader that loads its classes and libraries separately to other 
plugins.  I have two plugins that define aspects for the same class/pointcut 
(org.apache.axis.client.Call-> invoke - each plugin provides their own instance 
of axis.jar loaded by their own classloader), however when one of the plugins 
is invoked, JBoss AOP tries to find the Aspect class from the other plugin 
using the invoked plugin's classloader, which fails.

I think that this could be solved by using scoped classloading, however the 
only support I could find for this in JBoss AOP is while running inside JBoss 
AS.  So, I guess that I have two questions; firstly, am I on the right track 
thinking that scoped classloading will fix my issue?, and secondly, is there a 
way to get scoped classloading working in a standalone application?

Thanks!

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to