org.apache.tapestry.util
Class RegexpPoolObjectFactory
java.lang.Object
org.apache.commons.pool.BaseKeyedPoolableObjectFactory
org.apache.tapestry.util.RegexpPoolObjectFactory
- All Implemented Interfaces:
- org.apache.commons.pool.KeyedPoolableObjectFactory
public class RegexpPoolObjectFactory
- extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Implementation of BaseKeyedPoolableObjectFactory
for regexp patterns
that compiles incoming String regexp patterns into compiled Pattern
objects.
Methods inherited from class org.apache.commons.pool.BaseKeyedPoolableObjectFactory |
activateObject, destroyObject, passivateObject, validateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpPoolObjectFactory
public RegexpPoolObjectFactory()
makeObject
public Object makeObject(Object pattern)
throws Exception
-
- Specified by:
makeObject
in interface org.apache.commons.pool.KeyedPoolableObjectFactory
- Specified by:
makeObject
in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
- Throws:
Exception
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.