org.apache.turbine.util.pool
Interface InitableRecyclable
- All Superinterfaces:
- Recyclable
- public interface InitableRecyclable
- extends Recyclable
An interface for objects that can be pooled and recycled several times
by different clients. Pooled objects that implement this interface
use no argument ctor and recycle methods. Initialization is taken
care of using the init method. This is a way to avoid
introspection/reflection when pooling an object.
- Version:
- $Id: InitableRecyclable.java 264148 2005-08-29 14:21:04Z henning $
- Author:
- John McNally
Method Summary |
void |
init(java.lang.Object initObj)
This method should be called after retrieving the object from
the pool. |
init
public void init(java.lang.Object initObj)
throws TurbineException
- This method should be called after retrieving the object from
the pool.
- Throws:
TurbineException
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.