1 package org.apache.turbine.util.pool;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 /***
20 * An interface for objects that can be pooled and
21 * recycled several times by different clients. This interface
22 * presents a recycle method that does not require introspection/reflection.
23 *
24 * @author <a href="mailto:jmcnally@collab.net">John McNally</a>
25 * @version $Id: ArrayCtorRecyclable.java 264148 2005-08-29 14:21:04Z henning $
26 */
27 public interface ArrayCtorRecyclable extends Recyclable
28 {
29 /***
30 * Recycles the object for a new client. Objects implementing
31 * this interface must also provide a matching constructor.
32 * The recycle methods must call their super.
33 */
34 void recycle(Object[] params);
35 }