org.ow2.easybeans.api.bean
Interface EasyBeansBean

All Superinterfaces:
EasyBeansInjection, EasyBeansLifeCycle, EasyBeansTimedObject
All Known Subinterfaces:
EasyBeansManagedBean, EasyBeansMDB, EasyBeansSB<PoolType>, EasyBeansSFSB, EasyBeansSingletonSB, EasyBeansSLSB

public interface EasyBeansBean
extends EasyBeansLifeCycle, EasyBeansInjection, EasyBeansTimedObject

Defines the interface of a bean.

Author:
Florent Benoit

Method Summary
 void easyBeansCleanup()
          Clean some reference of this instance.
 EZBEJBContext getEasyBeansContext()
          Gets the EJB context associated to this bean.
 Factory getEasyBeansFactory()
          Gets the factory associated to this bean.
 void setEasyBeansContext(EZBEJBContext beanContext)
          Defines the EJB context associated to this bean.
 void setEasyBeansFactory(Factory easyBeansFactory)
          Defines the factory associated to this bean.
 void setEasyBeansInvocationContextFactory(EZBInvocationContextFactory ezbinvocationcontextfactory)
          Sets the invocation context factory for this bean.
 
Methods inherited from interface org.ow2.easybeans.api.bean.lifecycle.EasyBeansLifeCycle
postConstructEasyBeansLifeCycle, preDestroyEasyBeansLifeCycle
 
Methods inherited from interface org.ow2.easybeans.api.injection.EasyBeansInjection
injectedByEasyBeans
 
Methods inherited from interface org.ow2.easybeans.api.bean.timer.EasyBeansTimedObject
timeoutCallByEasyBeans
 

Method Detail

easyBeansCleanup

void easyBeansCleanup()
Clean some reference of this instance.


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.

getEasyBeansContext

EZBEJBContext getEasyBeansContext()
Gets the EJB context associated to this bean.

Returns:
EJB context

setEasyBeansContext

void setEasyBeansContext(EZBEJBContext beanContext)
Defines the EJB context associated to this bean.

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

setEasyBeansInvocationContextFactory

void setEasyBeansInvocationContextFactory(EZBInvocationContextFactory ezbinvocationcontextfactory)
Sets the invocation context factory for this bean.

Parameters:
ezbinvocationcontextfactory - the invocation context factory


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