| TestPoolableObject.java |
/* JFox, the OpenSource J2EE Application Server
*
* Copyright (C) 2002 huihoo.org
* Distributable under GNU LGPL license
* See the GNU Lesser General Public License for more details.
*/
package org.huihoo.jfox.pool;
/**
*
* @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
*/
public class TestPoolableObject extends AbstractPoolableObject {
public void activate() throws Exception {
super.activate();
System.out.println("activate");
}
public void passivate() throws Exception {
super.passivate();
System.out.println("passivate");
}
public boolean isAvailable() {
return super.isAvailable();
}
public String say(){
return "Hello, World!";
}
}