Class PoolHolder

java.lang.Object
com.saperion.ws.pool.PoolHolder

public final class PoolHolder extends Object
The Class PoolHolder. It holds the pool instance to be used by the web service instance.
  • Method Details

    • 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.