Class StatelessInterceptorTests

All Implemented Interfaces:
junit.framework.Test

public class StatelessInterceptorTests extends BasicStatelessLocalTestClient
Version:
$Rev$ $Date$
  • Constructor Details

    • StatelessInterceptorTests

      public StatelessInterceptorTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: StatelessTestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class StatelessTestClient
      Throws:
      Exception
    • test01_interceptorChaining

      public void test01_interceptorChaining()
      Invokes a business method which is to be intercepted from a class, in-bean and at method level.
    • test02_methodProfile

      public void test02_methodProfile()
      Invokes just 1 business method on the bean. The interceptor method stores the intercepted method's name and params in a map that is returned by the getContextData
    • test03_excludeClassInterceptors

      public void test03_excludeClassInterceptors()
      Invokes a business method which is annotated to be excluded from interception. getContextData() has been annotated with @ExcludesClassInterceptors
    • test04_excludeClassInterceptors_02

      public void test04_excludeClassInterceptors_02()
      Invokes a business method which is declared to be excluded from interception by the DD concat() has been annotated with exclude-class-interceptors