[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Moving out of the UnifiedClassloaders
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Jan 11 13:05:36 EST 2008
"adrian at jboss.org" wrote :
| Ok. It would probably be better to change isInRange()
| to accept a comparator and configure it somewhere in the classloader
| setup.
|
| But it's one of those N^2 problems in writing comparators between
| all the different versions, e.g. our own, maven, osgi, java manifest, jdk7 module system, etc.
|
| Less pluggable (do we know what all the possible parameters will be?),
| but probably easier to manage/configure would be to write
| some kind of complicated Version concrete class that can handle all the different versions
| and always map the other versions into it.
|
In between this would be to push the mapping into the comparator implementation. We have a Version implementation and register how to map VersionXImpl onto it in the comparator bean configuration.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119195#4119195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119195
More information about the jboss-dev-forums
mailing list