This interface is used by all bean factories of EJB 3 container.
< Parameters: PoolType - > The type of the pool.< Parameters: Clue - > The clue used by the pool. author: Florent Benoit
localCall(long hash, Object[] methodArgs, Long beanId) Do a local call on a method of this factory.
Parameters: hash - the hash of the method to execute. Parameters: methodArgs - the arguments of the method Parameters: beanId - the id of the bean that we want (stateful).
void
notifyTimeout(Timer timer) Notified when the timer service send a Timer object.
rpcInvoke(EJBRequest request) A remote request comes to the bean factory and needs to be handled.
A response is done which contains the answer.
Parameters: request - the EJB request.
Do a local call on a method of this factory.
Parameters: hash - the hash of the method to execute. Parameters: methodArgs - the arguments of the method Parameters: beanId - the id of the bean that we want (stateful). response container new id (if any) and value.
Notified when the timer service send a Timer object.
It has to call the Timed method.
Parameters: timer - the given timer object that will be given to the timer method.
A remote 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.