[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Remaing classLoader changes

adrian@jboss.org do-not-reply at jboss.com
Tue Jan 22 11:33:59 EST 2008


"scott.stark at jboss.org" wrote : Ok, so do the current matching extension points/rules allow for ordering of bundles for resources/classes? 

For importAll, they are matched in the old way. i.e. the order the classloader
was added to the domain/repository. This is achieved by storing them in a list by
package name they export.

BaseClassLoaderDomain:

  |    /** The classloaders by package name */
  |    private Map<String, List<ClassLoaderInformation>> classLoadersByPackageName = new ConcurrentHashMap<String, List<ClassLoaderInformation>>();
  | 

For specific imports (delegation model) 
that are matched in the order the imports are "declared"
(and depending upon the parent policy, i.e. before/after).

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

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



More information about the jboss-dev-forums mailing list