| |
|
| java.lang.Object org.ow2.easybeans.tests.interceptors.lifecycle.stateful.containermanaged.TestSFPostConstruct00
TestSFPostConstruct00 | public class TestSFPostConstruct00 (Code) | | Verifies if interceptors invocation order.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Method Summary | |
public void | startUp() Gets bean instances used in the tests. | public void | testExternal00() Verifies if the post construct callback in an external class is invoked. | public void | testExternal01() Verifies if the post construct callback in invoked in the correct order. | public void | testInternal() Verifies if the post construct callback in invoked in the correct order. |
startUp | public void startUp() throws Exception(Code) | | Gets bean instances used in the tests.
throws: Exception - if there is a problem with the bean initialization. |
testExternal00 | public void testExternal00() throws Exception(Code) | | Verifies if the post construct callback in an external class is invoked.
throws: Exception - if a problem occurs. |
testExternal01 | public void testExternal01() throws Exception(Code) | | Verifies if the post construct callback in invoked in the correct order.
The bean contains two interceptors(inheritance) that one throw an
exception and the other must catch, the last must throw an exception
that is expected by the first invoked interceptor.
throws: Exception - if a problem occurs. |
testInternal | public void testInternal() throws Exception(Code) | | Verifies if the post construct callback in invoked in the correct order.
The bean contains an interceptor that sets to true a boolean value and
the check() method verifies if the value was set.
throws: Exception - if a problem occurs. |
|
|
|