Package org.jboss.aop.microcontainer.beans

Examples of org.jboss.aop.microcontainer.beans.InterceptorEntry


      assertEquals(5, entries.size());
      int i = 0;
      for (BindingEntry entry : entries)
      {
         assertTrue(entry instanceof InterceptorEntry);
         InterceptorEntry ie = (InterceptorEntry)entry;
         i++;
         switch (i)
         {
            case 1:
               assertEquals(AdviceType.BEFORE, ie.getType());
               break;
            case 2:
               assertEquals(AdviceType.AROUND, ie.getType());
               break;
            case 3:
               assertEquals(AdviceType.AFTER, ie.getType());
               break;
            case 4:
               assertEquals(AdviceType.THROWING, ie.getType());
               break;
            case 5:
               assertEquals(AdviceType.FINALLY, ie.getType());
         }
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.aop.microcontainer.beans.InterceptorEntry

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.