[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
Mon Sep 3 12:34:40 EDT 2007


That certainly clears things up :-) In ComplexImportAdviceUnitTestCase, could you please explain the purpose of the


  |       MockClassLoaderPolicy supportPolicy = MockClassLoaderHelper.createMockClassLoaderPolicy("Support");
  |       supportPolicy.setPathsAndPackageNames(PACKAGE_SUPPORT);
  |       ClassLoader support = createClassLoader(supportPolicy);
  |       try
  |       {
  |          MockClassLoaderPolicy bPolicy = MockClassLoaderHelper.createMockClassLoaderPolicy("B");
  |          bPolicy.setPathsAndPackageNames(PACKAGE_B);
  |          bPolicy.setDelegates(createDelegates(supportPolicy));
  |          ClassLoader b = createClassLoader(bPolicy);
  | 
I am thinking of the following line:
         bPolicy.setDelegates(createDelegates(supportPolicy));
  | 

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

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



More information about the jboss-dev-forums mailing list