org.jboss.ejb3.interceptors.container
Interface BeanContextFactory<T,C extends AbstractContainer<T,C>>

All Known Implementing Classes:
SimpleBeanContextFactory

public interface BeanContextFactory<T,C extends AbstractContainer<T,C>>

A factory for bean contexts. After construction of the context the bean instance and interceptor instances have been injected and the post construct life cycle callback has been called.


Method Summary
 BeanContext<T> createBean()
           
 void destroyBean(BeanContext<T> bean)
           
 void setContainer(C container)
           
 

Method Detail

createBean

BeanContext<T> createBean()
                          throws java.lang.Exception
Throws:
java.lang.Exception

destroyBean

void destroyBean(BeanContext<T> bean)

setContainer

void setContainer(C container)