org.objectweb.easybeans.api.bean
Interface EasyBeansBean

All Superinterfaces:
EasyBeansDependencyInjection, EasyBeansInjection, EasyBeansLifeCycle
All Known Subinterfaces:
EasyBeansMDB, EasyBeansSB, EasyBeansSFSB, EasyBeansSLSB

public interface EasyBeansBean
extends EasyBeansLifeCycle, EasyBeansInjection

Defines the interface of a bean.

Author:
Florent Benoit

Method Summary
 Factory getEasyBeansFactory()
          Gets the factory associated to this bean.
 void setEasyBeansFactory(Factory easyBeansFactory)
          Defines the factory associated to this bean.
 
Methods inherited from interface org.objectweb.easybeans.api.bean.lifecycle.EasyBeansLifeCycle
postConstructEasyBeansLifeCycle, preDestroyEasyBeansLifeCycle
 
Methods inherited from interface org.objectweb.easybeans.api.bean.injection.EasyBeansInjection
injectedByEasyBeans
 

Method Detail

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.