org.apache.fulcrum.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 535465 2007-05-05 06:58:06Z tv $
- Author:
- John McNally
Method Summary |
void |
init(Object initObj)
This method should be called after retrieving the object from
the pool. |
init
void init(Object initObj)
throws PoolException
- This method should be called after retrieving the object from
the pool.
- Throws:
PoolException
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.