PoolableObjectFactory is covariant

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>
differentiating between pool factory methods based on config and based on parameters passed

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>