[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassPool for JBoss Reflection
alesj
do-not-reply at jboss.com
Mon Jul 6 07:19:12 EDT 2009
"flavia.rainone at jboss.com" wrote : Ales, the main question here is where do these class pools belong to.
| "kabir.khan at jboss.com" wrote :
| | So just as the introspection implementation of JBoss Reflect is independent of the jboss-cl implementations (it just uses the right classloader in the environment it is running in) in a similar way the javassist implementation of JBoss Reflect should be independent of the actual classloader implementation.
| |
| | I think it makes sense to move the classpool stuff out to a separate project which can be consumed by other projects.
|
Yes, I agree with Kabir.
The Reflect should be CL impl agnostic.
You can simply create new CLPool project in jbossas/projects.
Which should also be properly structured - base spi, jboss-cl impl, ...
Where Reflect should then just consume minimal spi, everything else is impl detail depending on the env we're running in.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241956#4241956
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241956
More information about the jboss-dev-forums
mailing list