[jboss-dev-forums] [Design the new POJO MicroContainer] - Deployer ClassLoader dependencies and OSGi

adrian@jboss.org do-not-reply at jboss.com
Mon Aug 6 09:47:01 EDT 2007


For the "version" of a deployment/module I'm currently using the 
OSGi version class.

See deployers-structure-spi/org.jboss.deployers.structure.spi.classloading.helpers.VersionImpl

Doing this will make it easier to interoperate with OSGi in the future,
but it does introduce a dependency of the OSGi core jar into the bootstrap classloader.

Can anybody think of alternate way to do this?

The basic problem is if we want multiple Version implementations
then they will like have to understand each other to implement:

  | Comparator<Version>.compareTo(Version other)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071188#4071188

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071188



More information about the jboss-dev-forums mailing list