"kabir.khan(a)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(a)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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...