org.objectweb.dream.pool
Interface RecyclableFactory
- All Known Implementing Classes:
- MessageManagerPoolingImpl
public interface RecyclableFactory
Interface used by object pools to get new instance of pooled object. This
interface is usually provided by the component that use the object pool.
Method Summary |
Recyclable |
newInstance()
Creates and returns a new instance of objects pooled by an object pool. |
ITF_NAME
static final String ITF_NAME
- Default interface name.
- See Also:
- Constant Field Values
newInstance
Recyclable newInstance()
- Creates and returns a new instance of objects pooled by an object pool.
- Returns:
- an instance that is pooled by an object pool.
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.