1 25 package org.objectweb.easybeans.tests.interceptors.business.base.access; 26 27 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessEJB; 28 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessEMFactory; 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessEntityManager; 30 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessJNDI; 31 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessResourceManager; 32 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessSessionContext; 33 import org.objectweb.easybeans.tests.common.ejbs.base.ItfAccessUserTransaction; 34 35 43 public class BaseAccessOperationsInterceptor00 { 44 45 48 private ItfAccessJNDI beanAccessJNDI; 49 50 53 private ItfAccessEJB beanAccessEJB; 54 55 58 private ItfAccessResourceManager beanAccessResourceManager; 59 60 63 private ItfAccessEntityManager beanAccessEntityManager; 64 65 68 private ItfAccessEMFactory beanAccessEMFactory; 69 70 73 private ItfAccessSessionContext beanAccessSessionContext01; 74 75 78 private ItfAccessUserTransaction beanAcessUserTransaction; 79 80 83 private ItfAccessSessionContext beanAccessSessionContext00; 84 85 88 private ItfAccessSessionContext beanAccessSessionContext02; 89 90 94 @SuppressWarnings ("unchecked") 95 public void testJNDI00() throws Exception { 96 beanAccessJNDI.accessJNDI(null); 97 } 98 99 103 @SuppressWarnings ("unchecked") 104 public void testEJB00() throws Exception { 105 beanAccessEJB.accessEJB(null); 106 } 107 108 112 @SuppressWarnings ("unchecked") 113 public void testResource00() throws Exception { 114 beanAccessResourceManager.accessResManager(null); 115 } 116 117 121 @SuppressWarnings ("unchecked") 122 public void testEntityManager00() throws Exception { 123 beanAccessEntityManager.accessEntityManager(null); 124 } 125 126 130 @SuppressWarnings ("unchecked") 131 public void testEntityFactory00() throws Exception { 132 beanAccessEMFactory.accessEntityManagerFactory(null); 133 } 134 135 139 @SuppressWarnings ("unchecked") 140 public void testSessionContext00() throws Exception { 141 beanAccessSessionContext01.accessSessionContext(null); 142 } 143 144 148 @SuppressWarnings ("unchecked") 149 public void testUserTransaction00() throws Exception { 150 beanAcessUserTransaction.accessUserTransaction(null); 151 } 152 153 158 @SuppressWarnings ("unchecked") 159 public void testSessionContext01() throws Exception { 160 beanAccessSessionContext00.accessSessionContext(null); 161 } 162 163 168 @SuppressWarnings ("unchecked") 169 public void testSessionContext02() throws Exception { 170 beanAccessSessionContext02.accessSessionContext(null); 171 } 172 173 183 public void setBeans(final ItfAccessJNDI bean00, final ItfAccessEJB bean01, final ItfAccessResourceManager bean02, 184 final ItfAccessEntityManager bean03, final ItfAccessEMFactory bean04, final ItfAccessSessionContext bean05, 185 final ItfAccessUserTransaction bean06) { 186 this.beanAccessJNDI = bean00; 187 this.beanAccessEJB = bean01; 188 this.beanAccessResourceManager = bean02; 189 this.beanAccessEntityManager = bean03; 190 this.beanAccessEMFactory = bean04; 191 this.beanAccessSessionContext01 = bean05; 192 this.beanAcessUserTransaction = bean06; 193 } 194 195 207 public void setBeans(final ItfAccessJNDI bean00, final ItfAccessEJB bean01, final ItfAccessResourceManager bean02, 208 final ItfAccessEntityManager bean03, final ItfAccessEMFactory bean04, final ItfAccessSessionContext bean05, 209 final ItfAccessUserTransaction bean06, 210 final ItfAccessSessionContext bean07, final ItfAccessSessionContext bean08) { 211 this.setBeans(bean00, bean01, bean02, bean03, bean04, bean05, bean06); 212 this.beanAccessSessionContext00 = bean07; 213 this.beanAccessSessionContext02 = bean08; 214 } 215 216 } 217 | Popular Tags |