01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package org.huihoo.jfox.pool.thread;
09:
10: /**
11: * 可以交给 object pool 来运行的对象
12: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
13: */
14:
15: public interface Threadable {
16: /**
17: * the method that the thread will do
18: */
19: void run();
20:
21: }
|