public class GroovyPoolFactory extends Object implements org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>
| Constructor and Description |
|---|
GroovyPoolFactory(String scriptBaseClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(GroovyPoolKey arg0,
GroovyPoolEntry arg1) |
void |
destroyObject(GroovyPoolKey arg0,
GroovyPoolEntry arg1) |
GroovyPoolEntry |
makeObject(GroovyPoolKey arg0) |
void |
passivateObject(GroovyPoolKey arg0,
GroovyPoolEntry arg1) |
boolean |
validateObject(GroovyPoolKey arg0,
GroovyPoolEntry arg1) |
public GroovyPoolFactory(String scriptBaseClass)
public void activateObject(GroovyPoolKey arg0, GroovyPoolEntry arg1) throws Exception
activateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>Exceptionpublic void destroyObject(GroovyPoolKey arg0, GroovyPoolEntry arg1) throws Exception
destroyObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>Exceptionpublic GroovyPoolEntry makeObject(GroovyPoolKey arg0) throws Exception
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>Exceptionpublic void passivateObject(GroovyPoolKey arg0, GroovyPoolEntry arg1) throws Exception
passivateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>Exceptionpublic boolean validateObject(GroovyPoolKey arg0, GroovyPoolEntry arg1)
validateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<GroovyPoolKey,GroovyPoolEntry>Copyright © 2019. All rights reserved.