public class StatefulInterceptorTests extends BasicStatefulLocalTestClient
NumberedTestCase.NamedTest, NumberedTestCase.TestSetup, NumberedTestCase.TestTearDownejbLocalHome, ejbLocalObjectejbHandle, ejbHomeHandle, ejbMetaData, ejbPrimaryKey, initialContexttestNamestandardPrefix| Constructor and Description |
|---|
StatefulInterceptorTests() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Sets up the fixture, for example, open a network connection.
|
protected void |
tearDown()
Tears down the fixture, for example, close a network connection.
|
void |
test01_interceptorChaining()
Invokes a business method which is to be intercepted by class, in-bean and at method level.
|
void |
test02_methodProfile()
Invokes just 1 business method on the bean.
|
void |
test03_excludeClassInterceptors()
Invokes a business method which is annotated to be excluded from interception.
|
void |
test04_excludeClassInterceptors_02()
Invokes a business method which is declared to be excluded from interception by the DD
getContextData() has been annotated with @ExcludesClassInterceptors |
void |
test05_PreDestroy()
Invokes a business method which is annotated to be excluded from interception.
|
cast, processFieldInjections, processSetterInjectionsnamecountTestCases, createTest, createTestName, removePrefix, removePrefix, run, run, runTestMethod, toStringassertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, failprotected void setUp()
throws Exception
StatefulTestClientsetUp in class StatefulTestClientExceptionprotected void tearDown()
throws Exception
tearDown in class NumberedTestCaseExceptionpublic void test01_interceptorChaining()
public void test02_methodProfile()
getContextDatapublic void test03_excludeClassInterceptors()
getContextData() has been annotated with @ExcludesClassInterceptorspublic void test04_excludeClassInterceptors_02()
getContextData() has been annotated with @ExcludesClassInterceptorspublic void test05_PreDestroy()
getContextData() has been annotated with @ExcludesClassInterceptorsCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.