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.


Field Summary
static String ITF_NAME
          Default interface name.
 
Method Summary
 Recyclable newInstance()
          Creates and returns a new instance of objects pooled by an object pool.
 

Field Detail

ITF_NAME

static final String ITF_NAME
Default interface name.

See Also:
Constant Field Values
Method Detail

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.