| |
|
| java.lang.Object org.ow2.easybeans.tests.sessionbean.stateful.sbinterface.TestSFSessionBeanInterfaceWithAnnotation
TestSFSessionBeanInterfaceWithAnnotation | public class TestSFSessionBeanInterfaceWithAnnotation (Code) | | Tests beans that implements the SessionBean interface.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Method Summary | |
public void | startUp() Gets bean instances used in the tests. | public void | verifyEjbActivate() Verifies the ejbActivate() with the @PostActivate annotation is
working properly. | public void | verifyEjbPassivate() Verifies the ejbPassivate() with the @PrePassivate annotation is
working properly. | public void | verifyEjbRemove() Verifies if the ejbRemove() with the @PreDestroy annotation is
working properly. |
startUp | public void startUp() throws Exception(Code) | | Gets bean instances used in the tests.
throws: Exception - if there is a problem with bean initialization. |
verifyEjbActivate | public void verifyEjbActivate() throws Exception(Code) | | Verifies the ejbActivate() with the @PostActivate annotation is
working properly.
throws: Exception - if a problem occurs. |
verifyEjbPassivate | public void verifyEjbPassivate() throws Exception(Code) | | Verifies the ejbPassivate() with the @PrePassivate annotation is
working properly.
throws: Exception - if a problem occurs. |
verifyEjbRemove | public void verifyEjbRemove() throws Exception(Code) | | Verifies if the ejbRemove() with the @PreDestroy annotation is
working properly.
throws: Exception - if a problem occurs. |
|
|
|