org.objectweb.easybeans.container.mdb
Class EasyBeansMDBContext

java.lang.Object
  extended by org.objectweb.easybeans.container.EasyBeansEJBContext<EasyBeansMDB>
      extended by org.objectweb.easybeans.container.mdb.EasyBeansMDBContext
All Implemented Interfaces:
EJBContext, MessageDrivenContext, EZBEJBContext<EasyBeansMDB>, EZBMDBContext

public class EasyBeansMDBContext
extends EasyBeansEJBContext<EasyBeansMDB>
implements EZBMDBContext, MessageDrivenContext

Defines the MDB Context used by MDB beans.

Author:
Florent Benoit

Field Summary
private  EasyBeansMDB bean
          Reference to the bean.
 
Constructor Summary
EasyBeansMDBContext(EasyBeansMDB bean)
          Build a new Session context.
 
Method Summary
 EasyBeansMDB getBean()
          Gets the bean of this context.
 
Methods inherited from class org.objectweb.easybeans.container.EasyBeansEJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Field Detail

bean

private EasyBeansMDB bean
Reference to the bean.

Constructor Detail

EasyBeansMDBContext

public EasyBeansMDBContext(EasyBeansMDB bean)
Build a new Session context.

Parameters:
bean - the bean on which we are linked.
Method Detail

getBean

public EasyBeansMDB getBean()
Gets the bean of this context.

Specified by:
getBean in interface EZBEJBContext<EasyBeansMDB>
Overrides:
getBean in class EasyBeansEJBContext<EasyBeansMDB>
Returns:
bean used by this context.