|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.jackofalltrades.util.PoolablePerl5UtilFactory
Provides functionality for creating
org.apache.oro.text.perl.Perl5Util objects, because the
instantiation of Perl5Util objects can be costly.
| Field Summary | |
static org.apache.commons.logging.Log |
_log
|
| Constructor Summary | |
PoolablePerl5UtilFactory()
|
|
| Method Summary | |
void |
activateObject(java.lang.Object o)
Activates an object as it's removed from the pool. |
void |
destroyObject(java.lang.Object o)
Destroys an object before it's removed from the pool for good. |
java.lang.Object |
makeObject()
Creates and returns a new Perl5Util object. |
void |
passivateObject(java.lang.Object o)
Passivates an object before it's returned to the pool. |
boolean |
validateObject(java.lang.Object o)
Validates an object which has been activated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static org.apache.commons.logging.Log _log
| Constructor Detail |
public PoolablePerl5UtilFactory()
| Method Detail |
public void activateObject(java.lang.Object o)
throws java.lang.Exception
activateObject in interface org.apache.commons.pool.PoolableObjectFactoryo - the object to activate.
java.lang.Exception
public void destroyObject(java.lang.Object o)
throws java.lang.Exception
destroyObject in interface org.apache.commons.pool.PoolableObjectFactoryo - the object to destroy.
java.lang.Exception
public java.lang.Object makeObject()
throws java.lang.Exception
Perl5Util object.
makeObject in interface org.apache.commons.pool.PoolableObjectFactoryPerl5Util object.
java.lang.Exception
public void passivateObject(java.lang.Object o)
throws java.lang.Exception
passivateObject in interface org.apache.commons.pool.PoolableObjectFactoryo - the object to passivate.
java.lang.Exceptionpublic boolean validateObject(java.lang.Object o)
validateObject in interface org.apache.commons.pool.PoolableObjectFactoryo - the object to validate.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||