| org.jboss.ejb3.Pool
All known Subclasses: org.jboss.ejb3.AbstractPool,
Pool | public interface Pool (Code) | | Minimally a pool acts as a factory for a bean. It will handle callbacks
to ejbCreate and ejbRemove as well.
author: Bill Burke version: $Revision: 61280 $ |
destroy | void destroy()(Code) | | Destroy the pool.
|
discard | void discard(BeanContext obj)(Code) | | Discard the bean. Called in different context as remove. If there is a system exception this is
called.
Parameters: obj - |
get | BeanContext get()(Code) | | Creates if no object is available in pool. ejbCreate will be called if created
|
getAvailableCount | int getAvailableCount()(Code) | | |
getCreateCount | int getCreateCount()(Code) | | |
getCurrentSize | int getCurrentSize()(Code) | | |
getMaxSize | int getMaxSize()(Code) | | |
getRemoveCount | int getRemoveCount()(Code) | | |
remove | void remove(BeanContext obj)(Code) | | Destroy bean. ejbRemove callback is executed
|
setMaxSize | void setMaxSize(int maxSize)(Code) | | |
|
|