[jboss-user] [JBoss AOP] - Re: Using a custom ClassLoader with JBoss AOP in Standalone
ttarhan
do-not-reply at jboss.com
Mon Dec 18 17:38:53 EST 2006
Turns out this is actually a Javassist "feature". This fixed my problem:
import javassist.ClassPool;
import javassist.LoaderClassPath;
ClassPool cp = ClassPool.getDefault();
cp.insertClassPath(new LoaderClassPath(getClassLoader()));
Where getClassLoader() returns an instance of your own custom ClassLoader as described in my example.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994822#3994822
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994822
More information about the jboss-user
mailing list