1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor; 26 27 import javax.ejb.EJB ; 28 import javax.ejb.Remote ; 29 import javax.ejb.Stateful ; 30 import javax.naming.NamingException ; 31 import javax.transaction.NotSupportedException ; 32 import javax.transaction.SystemException ; 33 34 import org.objectweb.easybeans.tests.common.ejbs.base.xmldescriptor.ItfBasicBeanLocal; 35 import org.objectweb.easybeans.tests.common.helper.EJBHelper; 36 37 42 @Stateful 43 @Remote (ItfXmlDescriptorTester.class) 44 public class SFSBXmlDescriptorTester00 implements ItfXmlDescriptorTester { 45 46 50 @EJB (beanName = "SLSBBasicBeanByXMLLocal") 51 private ItfBasicBeanLocal slsbLocal; 52 53 63 public void verifyBeanTypeElement() throws NamingException , NotSupportedException , SystemException { 64 slsbLocal.openTransaction(); 65 } 66 67 68 73 public void verifyBMT() throws Exception { 74 slsbLocal.verifyBMT(); 75 } 76 77 82 public void verifyBeanMappedName() throws Exception { 83 ItfBasicBeanLocal bean = EJBHelper.getBeanByMappedName("SLSBBasicBeanByXMLMappedLocal"); 84 bean.toString(); 85 } 86 87 } 88 | Popular Tags |