org.apache.tapestry.engine
Class BSFManagerPoolableAdaptor

java.lang.Object
  extended by 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

Constructor Summary
BSFManagerPoolableAdaptor()
           
 
Method Summary
 void discardFromPool(Object object)
          Invokes BSFManager.terminate().
 void resetForPool(Object object)
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSFManagerPoolableAdaptor

public BSFManagerPoolableAdaptor()
Method Detail

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