Package step.expressions
Class GroovyPoolFactory
java.lang.Object
step.expressions.GroovyPoolFactory
- All Implemented Interfaces:
org.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry>
public class GroovyPoolFactory
extends Object
implements org.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,GroovyPoolEntry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateObject
(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) void
destroyObject
(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) org.apache.commons.pool2.PooledObject<GroovyPoolEntry>
makeObject
(GroovyPoolKey groovyPoolKey) void
passivateObject
(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) boolean
validateObject
(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.pool2.KeyedPooledObjectFactory
destroyObject
-
Constructor Details
-
GroovyPoolFactory
-
-
Method Details
-
makeObject
public org.apache.commons.pool2.PooledObject<GroovyPoolEntry> makeObject(GroovyPoolKey groovyPoolKey) throws Exception - Specified by:
makeObject
in interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry> - Throws:
Exception
-
activateObject
public void activateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
activateObject
in interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry> - Throws:
Exception
-
destroyObject
public void destroyObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
destroyObject
in interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry> - Throws:
Exception
-
passivateObject
public void passivateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) throws Exception - Specified by:
passivateObject
in interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry> - Throws:
Exception
-
validateObject
public boolean validateObject(GroovyPoolKey groovyPoolKey, org.apache.commons.pool2.PooledObject<GroovyPoolEntry> pooledObject) - Specified by:
validateObject
in interfaceorg.apache.commons.pool2.KeyedPooledObjectFactory<GroovyPoolKey,
GroovyPoolEntry>
-