Package com.saperion.ws.pool
Class PoolHolder
- java.lang.Object
-
- com.saperion.ws.pool.PoolHolder
-
public final class PoolHolder extends java.lang.Object
The Class PoolHolder. It holds the pool instance to be used by the web service instance.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.pool2.impl.GenericKeyedObjectPool
getPool()
Returns the pool instance.static void
setPoolInstance(org.apache.commons.pool2.impl.GenericKeyedObjectPool pool)
Sets the pool instance to hold.
-
-
-
Method Detail
-
setPoolInstance
public static void setPoolInstance(org.apache.commons.pool2.impl.GenericKeyedObjectPool pool)
Sets the pool instance to hold.- Parameters:
pool
- the pool instance to hold.
-
getPool
public static org.apache.commons.pool2.impl.GenericKeyedObjectPool getPool()
Returns the pool instance.- Returns:
- the pool instance.
-
-