Class SingletonInterceptorTests

All Implemented Interfaces:
junit.framework.Test

public class SingletonInterceptorTests extends BasicSingletonLocalTestClient
Version:
$Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
  • Constructor Details

    • SingletonInterceptorTests

      public SingletonInterceptorTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: SingletonTestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class SingletonTestClient
      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