| java.lang.Object com.bm.creators.SessionBeanFactory
SessionBeanFactory | final public class SessionBeanFactory (Code) | | This class will create session bean instances without an application server.
The dependency injection is done here
< Parameters: T - > -the type of the session bean to create (class name) author: Daniel Wiese since: 18.09.2005 |
SessionBeanFactory | public SessionBeanFactory(AbstractIntrospector<T> intro, Class[] usedEntityBeans)(Code) | | Default constructor.
Parameters: intro - -the introspector Parameters: usedEntityBeans - -the used entity beans for this test |
createSessionBean | public T createSessionBean(Class<T> toCreate)(Code) | | Factory method to create stateless session beans.
author: Daniel Wiese since: 18.09.2005 Parameters: toCreate - -the class to create - the created session bean class for local usage |
destroySessionBean | public void destroySessionBean(T toClose)(Code) | | Factory method to close the entity manager in stateless session beans.
author: Daniel Wiese since: 18.09.2005 Parameters: toClose - -the session bean class with the entity manager to close |
getEntityManager | public EntityManager getEntityManager()(Code) | | Gets the instance of the entity manager assotiated with this factory.
author: Daniel Wiese since: 18.09.2005 - the entity manager |
getInjector | public Injector getInjector(Class<T> toCreate, CreationListner creationListener)(Code) | | Creates the injector to create session beans and inject fields
Parameters: toCreate - -the class to create - the injector |
|
|