org.apache.tapestry.services.impl
Class PoolableOgnlContextFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by org.apache.tapestry.services.impl.PoolableOgnlContextFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory

public class PoolableOgnlContextFactory
extends org.apache.commons.pool.BasePoolableObjectFactory

Used by ExpressionEvaluatorImpl to pool OgnlContext objects.


Constructor Summary
PoolableOgnlContextFactory(ClassResolver resolver, TypeConverter typeConverter)
           
 
Method Summary
 void activateObject(Object obj)
           
 Object makeObject()
           
 
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory
destroyObject, passivateObject, validateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolableOgnlContextFactory

public PoolableOgnlContextFactory(ClassResolver resolver,
                                  TypeConverter typeConverter)
Method Detail

makeObject

public Object makeObject()
                  throws Exception
Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
Specified by:
makeObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception

activateObject

public void activateObject(Object obj)
                    throws Exception
Specified by:
activateObject in interface org.apache.commons.pool.PoolableObjectFactory
Overrides:
activateObject in class org.apache.commons.pool.BasePoolableObjectFactory
Throws:
Exception


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.