public interface IPooledObject<T>
Serializable
and contains a member variable for the pool,
the pool member should be marked as transient.Modifier and Type | Method and Description |
---|---|
IObjectPool<T> |
getPool()
Gets this object's pool.
|
void |
release()
Cleans up this object's member resources,
preparing it to be added back into the pool.
|
void |
setPool(IObjectPool<T> pool)
Sets this object's pool.
|
void release()
IObjectPool<T> getPool()
void setPool(IObjectPool<T> pool)
setPool(com.webmethods.portal.system.pool.IObjectPool<T>)
does nothing.