org.ow2.easybeans.api.container
Interface EZBSessionContext<FactoryType extends Factory<?,?>>

Type Parameters:
FactoryType - an EasyBeans factory
All Superinterfaces:
javax.ejb.EJBContext, EZBEJBContext<FactoryType>, javax.ejb.SessionContext

public interface EZBSessionContext<FactoryType extends Factory<?,?>>
extends EZBEJBContext<FactoryType>, javax.ejb.SessionContext

Context that will be stored in the bean object.

Author:
Florent Benoit

Method Summary
 Transaction getBeanTransaction()
          Gets the transaction used by this bean.
 void setBeanTransaction(Transaction beanTransaction)
          Sets the transaction used by this bean.
 
Methods inherited from interface org.ow2.easybeans.api.container.EZBEJBContext
getContextData, getFactory, getInternalTimerService
 
Methods inherited from interface javax.ejb.SessionContext
getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, getMessageContext
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Method Detail

getBeanTransaction

Transaction getBeanTransaction()
Gets the transaction used by this bean.

Returns:
the bean transaction.

setBeanTransaction

void setBeanTransaction(Transaction beanTransaction)
Sets the transaction used by this bean.

Parameters:
beanTransaction - the bean transaction.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.