Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.