[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: ClassLoading Module usage

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Oct 19 09:44:18 EDT 2007


"adrian at jboss.org" wrote : "kabir.khan at jboss.com" wrote : 
  |   | AFAICT we don't know this at the time the classloader is created? So basically we need to turn off blacklisting of all classloaders in jboss 5?
  | 
  | What stops you from knowing this?
  | 
  | 

We have a new deployment, and create the classloader. At this stage we have no idea what classes are contained nor whether any of these will match any aspects deployed. 

I am not arguing for turning off the blacklist completely, I was just pointing out that as far as I can see without the ability to flush the blacklist I could not see any other way.

I think you said that adding a flush method is OK? :-) Should the whole blackList be cleared, or just a single entry?


  | void flushBlackList();
  | 
or

  | void flushBlackList(String classname);
  | 
I think the second option will suffice for my needs

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

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



More information about the jboss-dev-forums mailing list