org.apache.tapestry.services.impl
Class PoolableOgnlContextFactory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
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.
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 |
PoolableOgnlContextFactory
public PoolableOgnlContextFactory(ClassResolver resolver,
TypeConverter typeConverter)
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.