[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

alesj do-not-reply at jboss.com
Fri Nov 14 04:04:18 EST 2008


"emmartins" wrote : 
  | What would be content of the class loading descriptor for the same class loader as it is done by default (with no such descriptor) but with blacklisting off.
  | 
Try this:

  | <classloading xmlns="urn:jboss:classloading:1.0" name="your-name-here" 
  | export-all="NON_EMPTY" import-all="true" blackList="false">
  | </classloading>
  | 

"emmartins" wrote : 
  | PS: By the way, what's the idea of the black listing at all? :-)
Very simple and common idea. ;-)
Constantly looking up / resolving some classes that already failed is costly.
If you can put an early condition on this check, it speeds up things.


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

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



More information about the jboss-user mailing list