org.objectweb.easybeans.api.container
Interface EZBEJBContext<BeanType extends EasyBeansBean>

Type Parameters:
BeanType - any bean managed by EasyBeans (SFSB, SLSB, MDB)
All Superinterfaces:
EJBContext
All Known Subinterfaces:
EZBMDBContext, EZBSessionContext<BeanType>
All Known Implementing Classes:
EasyBeansEJBContext, EasyBeansMDBContext, EasyBeansMessageDrivenContext, EasyBeansSessionContext

public interface EZBEJBContext<BeanType extends EasyBeansBean>
extends EJBContext

Context that will be stored in the bean object. Allow to gets the bean of this context.

Author:
Florent Benoit

Method Summary
 BeanType getBean()
          Gets the bean of this context.
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Method Detail

getBean

BeanType getBean()
Gets the bean of this context.

Returns:
bean used by this context.