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

Type Parameters:
FactoryType - an EasyBeans factory
All Superinterfaces:
javax.ejb.EJBContext
All Known Subinterfaces:
EZBMDBContext<FactoryType>, EZBSessionContext<FactoryType>

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

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

Author:
Florent Benoit

Method Summary
 Map<String,Object> getContextData()
           
 FactoryType getFactory()
          Gets the factory of this context.
 javax.ejb.TimerService getInternalTimerService()
          Get access to the EJB Timer Service.
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Method Detail

getFactory

FactoryType getFactory()
Gets the factory of this context.

Returns:
factory used by this context.

getInternalTimerService

javax.ejb.TimerService getInternalTimerService()
Get access to the EJB Timer Service.

Returns:
Timer service.

getContextData

Map<String,Object> getContextData()
Returns:
the context data associated to the current invocation.


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