Package org.jboss.aop.classpool

Examples of org.jboss.aop.classpool.ClassPoolDomain


      assertEquals(poolB, b.getClassPool());
   }
  
   public void testOnePoolPerClassLoadedByB() throws Exception
   {
      ClassPoolDomain domain = createClassPoolDomain("SIMPLE", null, false);
      ClassPool poolA = createDelegatingClassPool(domain, JAR_A);
      ClassPool poolB = createDelegatingClassPool(domain, JAR_B);

      //The first time we access the pool it will create the classes, second time will use the cache
      accessOnePoolPerClassLoadedByB(poolA, poolB);
View Full Code Here


      assertEquals(poolB, b.getClassPool());
   }
  
   public void testCanLoadArrrayCtClass() throws Exception
   {
      ClassPoolDomain domain = createClassPoolDomain("SIMPLE", null, false);
      ClassPool poolA = createDelegatingClassPool(domain, JAR_A);
      ClassPool poolB = createDelegatingClassPool(domain, JAR_B);
      accessCanLoadCtArray(poolA, poolB);
      accessCanLoadCtArray(poolA, poolB);
   }
View Full Code Here

TOP

Related Classes of org.jboss.aop.classpool.ClassPoolDomain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.