[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Reimplementing ClassPools for AS
kabir.khan@jboss.com
do-not-reply at jboss.com
Fri Dec 5 10:37:17 EST 2008
Adrian,
If I register a ClassLoaderPolicy that has a parent loader, I end up with a BaseClassLoader with no parent loader and an underlying ClassLoaderDomain that has a ClassLoaderToLoaderAdapter as its parent. The CLTLA contains the parent loader of the ClassLoaderPolicy. I need to be able to access what the parent loader is when constructing the pools, but don't see a way to get hold of that using the Loader interface returned by ClassLoaderDomain. Trying to hack it and use CLTLA directly also does not allow me access to the underlying parent loader.
Is there a way to get hold of this from the ClassLoaderSystem or elsewhere?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194652#4194652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194652
More information about the jboss-dev-forums
mailing list