org.apache.tapestry.engine
Class BSFManagerPoolableAdaptor
java.lang.Object
org.apache.tapestry.engine.BSFManagerPoolableAdaptor
- All Implemented Interfaces:
- IPoolableAdaptor
public class BSFManagerPoolableAdaptor
- extends Object
- implements IPoolableAdaptor
Allows a Pool
to
properly terminate a BSFManager
when it is discarded.
- Since:
- 3.0
- Version:
- $Id: BSFManagerPoolableAdaptor.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BSFManagerPoolableAdaptor
public BSFManagerPoolableAdaptor()
resetForPool
public void resetForPool(Object object)
- Does nothing.
- Specified by:
resetForPool
in interface IPoolableAdaptor
discardFromPool
public void discardFromPool(Object object)
- Invokes
BSFManager.terminate()
.
- Specified by:
discardFromPool
in interface IPoolableAdaptor