[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: AOP asintegration WITHOUT the integration :-)

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Sep 4 11:15:36 EDT 2007


With the multiple versions test-case, we are basically deploying two similar jboss-aop.xml files into the system. One goes into A1, the other into A2


  |           |---- Support1 -- A1
  | MOCK-
  |           |---- Support2 -- A2
  | 

I am not clear on what the visibility rules for resources are between the classloaders? Currently everything gets applied everywhere (in other words both in A1 and A2 we will get intercepted by TestInterceptor twice) 
while it feels more natural that the jboss-aop.xml that is deployed into A1 only applies there, while the one that is depoyed into A2 only applies there. This is what the domains made easy :-) Of course we had the opposite case using the global domain where everything is deployed/visible everywhere. I guess I am trying to define this "partial" visiblity somehow wrt to the -aop.xml information.

Or should I not really care about this unless there is a "real" scope, i.e child domains, and just make sure that the AspectDefinitions have some indexing by classloader like you suggest? 





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

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



More information about the jboss-dev-forums mailing list