org.objectweb.easybeans.api.bean
Interface EasyBeansBean
- All Superinterfaces:
- EasyBeansInjection, EasyBeansLifeCycle
- All Known Subinterfaces:
- EasyBeansMDB, EasyBeansSB, EasyBeansSFSB, EasyBeansSLSB
public interface EasyBeansBean
- extends EasyBeansLifeCycle, EasyBeansInjection
Defines the interface of a bean.
- Author:
- Florent Benoit
getEasyBeansFactory
Factory getEasyBeansFactory()
- Gets the factory associated to this bean.
- Returns:
- bean's factory
setEasyBeansFactory
void setEasyBeansFactory(Factory easyBeansFactory)
- Defines the factory associated to this bean.
- Parameters:
easyBeansFactory
- the EasyBeans factory that manages this bean.