1 25 26 package org.objectweb.easybeans.container.mdb; 27 28 import javax.ejb.MessageDrivenContext ; 29 30 import org.objectweb.easybeans.api.bean.EasyBeansMDB; 31 import org.objectweb.easybeans.api.container.EZBMDBContext; 32 import org.objectweb.easybeans.container.EasyBeansEJBContext; 33 34 38 public class EasyBeansMDBContext extends EasyBeansEJBContext<EasyBeansMDB> implements 39 EZBMDBContext, MessageDrivenContext { 40 41 44 private EasyBeansMDB bean = null; 45 46 50 @Override 51 public EasyBeansMDB getBean() { 52 return this.bean; 53 } 54 55 59 public EasyBeansMDBContext(final EasyBeansMDB bean) { 60 super(bean.getEasyBeansFactory()); 61 this.bean = bean; 62 } 63 64 } 65 | Popular Tags |