1 25 package org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.timersrvref; 26 27 import static org.objectweb.easybeans.tests.common.helper.ContextHelper.checkResource; 28 29 import javax.annotation.Resource; 30 import javax.ejb.Remote ; 31 import javax.ejb.SessionContext ; 32 import javax.ejb.Stateless ; 33 import javax.ejb.TransactionManagement ; 34 import javax.ejb.TransactionManagementType ; 35 import javax.transaction.UserTransaction ; 36 37 import org.objectweb.easybeans.tests.common.ejbs.base.ItfCheck00; 38 39 40 45 @Stateless (name = "SLSBTimerSrvRefXML00") 46 @Remote (ItfCheck00.class) 47 @TransactionManagement (value = TransactionManagementType.BEAN) 48 public class SLSBTimerSrvRefXML00 implements ItfCheck00{ 49 50 53 @Resource 54 private SessionContext sessionContext; 55 56 59 private UserTransaction utx00; 60 61 67 public void check() { 68 checkResource(sessionContext, utx00, "ts/ts00"); 69 checkResource(sessionContext, "ts/tsXMLDeclaration"); 70 } 71 72 } 73 | Popular Tags |