org.objectweb.easybeans.api.bean
Interface EasyBeansSB<PoolType extends EasyBeansSB>

Type Parameters:
PoolType - the type of session bean (SLSB or SFSB)
All Superinterfaces:
EasyBeansBean, EasyBeansInjection, EasyBeansLifeCycle, EasyBeansSBLifeCycle
All Known Subinterfaces:
EasyBeansSFSB, EasyBeansSLSB

public interface EasyBeansSB<PoolType extends EasyBeansSB>
extends EasyBeansBean, EasyBeansSBLifeCycle

Defines the interface of a session bean.

Author:
Florent Benoit

Method Summary
 boolean getEasyBeansRemoved()
          Detects if the bean is removed or not.
 void setEasyBeansRemoved(boolean easyBeansRemoved)
          Sets the value to true if the bean is removed.
 
Methods inherited from interface org.objectweb.easybeans.api.bean.EasyBeansBean
getEasyBeansContext, getEasyBeansFactory, setEasyBeansContext, 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

getEasyBeansRemoved

boolean getEasyBeansRemoved()
Detects if the bean is removed or not.

Returns:
true if the bean has been removed

setEasyBeansRemoved

void setEasyBeansRemoved(boolean easyBeansRemoved)
Sets the value to true if the bean is removed.

Parameters:
easyBeansRemoved - true/false