Method Summary |
|
public PoolType | create(Long clue) Creates an instance with the given hint.
Parameters: clue - a clue given by the Pool. |
abstract protected PoolType | getBean(Long beanId) Gets a bean for the given id.
Parameters: beanId - id of the expected bean. |
public IBeanInfo | getBeanInfo() |
abstract protected Long | getId(Long beanId) Gets a new ID or a null value.
Parameters: beanId - given id. |
public SessionBeanInfo | getSessionBeanInfo() |
abstract public EJBResponse | 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). |
public EJBResponse | 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. |
public void | setSessionBeanInfo(SessionBeanInfo sessionBeanInfo) Sets the information object for a session bean. |
public void | stop() Stops the factory. |