Package org.jboss.aop.joinpoint

Examples of org.jboss.aop.joinpoint.ConstructorExecution


      new JoinPointPOJO((short) 5, false);
     
      assertFullInterception(ConstructorExecution.class, "before2", "after7",
            "finally7", false);
     
      ConstructorExecution joinPoint = (ConstructorExecution)
         JoinPointAspect.beforeJoinPoint;
      assertSame(JoinPointPOJO.class, joinPoint.getConstructor().getDeclaringClass());
      Class[] parameters = joinPoint.getConstructor().getParameterTypes();
      assertEquals(2, parameters.length);
      assertSame(short.class, parameters[0]);
      assertSame(boolean.class, parameters[1]);
   }
View Full Code Here


      assertTrue(exceptionThrown);
     
      assertFullInterception(ConstructorExecution.class, "before2", "throwing2",
            "finally7", exceptionThrown);

      ConstructorExecution joinPoint = (ConstructorExecution)
         JoinPointAspect.beforeJoinPoint;
      assertSame(JoinPointPOJO.class, joinPoint.getConstructor().getDeclaringClass());
      Class[] parameters = joinPoint.getConstructor().getParameterTypes();
      assertEquals(2, parameters.length);
      assertSame(short.class, parameters[0]);
      assertSame(boolean.class, parameters[1]);
   }
View Full Code Here

TOP

Related Classes of org.jboss.aop.joinpoint.ConstructorExecution

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.