| |
|
| java.lang.Object org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.SFSBXmlDescriptorTester00
SFSBXmlDescriptorTester00 | public class SFSBXmlDescriptorTester00 implements ItfXmlDescriptorTester(Code) | | Bean used to test if the container verifies the deployment descriptor.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public void | verifyBMT() Verifies if the bean has actually a BMT when it has the transaction type
defined as BMT in the deployment descriptor. | public void | verifyBeanMappedName() Verifies if it is possible to get a bean(stateless) by the mappedName
defined in the deployment descriptor. | public void | verifyBeanTypeElement() Verifies if the bean that is defined as stateless in the deployment
descriptor is actually a stateless. |
verifyBMT | public void verifyBMT() throws Exception(Code) | | Verifies if the bean has actually a BMT when it has the transaction type
defined as BMT in the deployment descriptor.
throws: Exception - if an error occurs. |
verifyBeanMappedName | public void verifyBeanMappedName() throws Exception(Code) | | Verifies if it is possible to get a bean(stateless) by the mappedName
defined in the deployment descriptor.
throws: Exception - if an error during the lookup occurs. |
verifyBeanTypeElement | public void verifyBeanTypeElement() throws NamingException, NotSupportedException, SystemException(Code) | | Verifies if the bean that is defined as stateless in the deployment
descriptor is actually a stateless. This method must throw a EJBException
if the bean is stateless.
throws: NamingException - if a problem to get the transaction occurs. throws: NotSupportedException - if the bean is already associated with atransaction. throws: SystemException - if an unexpected error occurs during thetransaction. |
|
|
|