[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassPool for JBoss Reflection
flavia.rainone@jboss.com
do-not-reply at jboss.com
Mon Jun 15 16:20:23 EDT 2009
"kabir.khan at jboss.com" wrote : The classpools from asintegration-mc could be put into another jar, although I am not sure if jboss-reflect is the right place for them. Maybe they should be put into another project.
This is a question whose answer I don't know. I thought it belonged to JBoss Reflect, as there is a task to create an appropriate class loader (JBREFLECT-3). Isn't those class pools all that is needed to make JBoss Reflect/Javassist to work on the AS environment?
"kabir.khan at jboss.com" wrote : Also, due to the workings of AOP, they extend AOPClassPool from the aop project, which in turn extends ScopedClassPool from javassist.
|
| Ideally we should have one jar for the classpool from aop, one for the classpool from asintegration-core, one for the one from asintegration-jmx and one for asintegration-mc.
|
| AOPClassPool and the ClassPoolFactories have some dependencies on the AspectManager, but it should be possible to abstract that out.
Yes, I can refactorate that, and extract the dependencies to a ClassPool wrapper, if we decide to go this way.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237745#4237745
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237745
More information about the jboss-dev-forums
mailing list