abstractpublic class AbsFactory implements Factory<PoolType, Long>(Code)
Abstract factory which implements common and defaults methods.
It should be extended by Bean factories.
< Parameters: PoolType - > the type of bean instance. author: Florent Benoit
rpcInvoke(EJBRequest request) A request comes to the bean factory and needs to be handled.
A response is done which contains the answer.
Parameters: request - the EJB request.
protected void
setBeanClass(Class<PoolType> beanClass) Sets the bean class that will be used to build bean's instance.
Builds a new factory with a given name and its container.
Parameters: className - name of this factory (name of class that is managed) Parameters: container - the root component of this factory. throws: FactoryException - if class can't be loaded.
A request comes to the bean factory and needs to be handled.
A response is done which contains the answer.
Parameters: request - the EJB request. a response that have been processed by the factory.