org.objectweb.easybeans.api.bean
Interface EasyBeansSB

All Superinterfaces:
EasyBeansBean, EasyBeansInjection, EasyBeansLifeCycle, EasyBeansSBLifeCycle
All Known Subinterfaces:
EasyBeansSFSB, EasyBeansSLSB

public interface EasyBeansSB
extends EasyBeansBean, EasyBeansSBLifeCycle

Defines the interface of a session bean.

Author:
Florent Benoit

Method Summary
 EasyBeansSessionContext getEasyBeansSessionContext()
          Gets the session context associated to this bean.
 void setEasyBeansSessionContext(EasyBeansSessionContext sessionContext)
          Defines the session context associated to this bean.
 
Methods inherited from interface org.objectweb.easybeans.api.bean.EasyBeansBean
getEasyBeansFactory, setEasyBeansFactory
 
Methods inherited from interface org.objectweb.easybeans.api.bean.lifecycle.EasyBeansLifeCycle
postConstructEasyBeansLifeCycle, preDestroyEasyBeansLifeCycle
 
Methods inherited from interface org.objectweb.easybeans.api.injection.EasyBeansInjection
injectedByEasyBeans
 
Methods inherited from interface org.objectweb.easybeans.api.bean.lifecycle.EasyBeansLifeCycle
postConstructEasyBeansLifeCycle, preDestroyEasyBeansLifeCycle
 

Method Detail

getEasyBeansSessionContext

EasyBeansSessionContext getEasyBeansSessionContext()
Gets the session context associated to this bean.

Returns:
session context

setEasyBeansSessionContext

void setEasyBeansSessionContext(EasyBeansSessionContext sessionContext)
Defines the session context associated to this bean.

Parameters:
sessionContext - the session context associated to this bean.