Package org.jboss.test.aop.integration.simple.support

Examples of org.jboss.test.aop.integration.simple.support.TestIntercepted


*/
public class A
{
   public A()
   {
      TestIntercepted test = new TestIntercepted();
      if (TestInterceptor.intercepted)
         throw new RuntimeException("Should not be intercepted yet!");
      test.doSomething();
      if (TestInterceptor.intercepted == false)
         throw new RuntimeException("Not intercepted!");
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.aop.integration.simple.support.TestIntercepted

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.