# Uses of Interface
org.apache.commons.pool2.PooledObjectFactory

Packages that use PooledObjectFactory
Package
Description
org.apache.commons.pool2
Object pooling API.
org.apache.commons.pool2.impl
Object pooling API implementations.

- ## Uses of PooledObjectFactory in org.apache.commons.pool2

  Classes in org.apache.commons.pool2 that implement PooledObjectFactory
  Modifier and Type
  Class
  Description
  `class`
  `BasePooledObjectFactory<T>`
  A base implementation of `PoolableObjectFactory`.
  Methods in org.apache.commons.pool2 that return PooledObjectFactory
  Modifier and Type
  Method
  Description
  `static <T> PooledObjectFactory<T>`
  PoolUtils.`synchronizedPooledFactory(PooledObjectFactory<T> factory)`
  Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.
  Methods in org.apache.commons.pool2 with parameters of type PooledObjectFactory
  Modifier and Type
  Method
  Description
  `static <T> PooledObjectFactory<T>`
  PoolUtils.`synchronizedPooledFactory(PooledObjectFactory<T> factory)`
  Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.

- ## Uses of PooledObjectFactory in org.apache.commons.pool2.impl

  Methods in org.apache.commons.pool2.impl that return PooledObjectFactory
  Modifier and Type
  Method
  Description
  `PooledObjectFactory<T>`
  GenericObjectPool.`getFactory()`
  Gets a reference to the factory used to create, destroy and validate the objects used by this pool.
  `PooledObjectFactory<T>`
  SoftReferenceObjectPool.`getFactory()`
  Gets the `PooledObjectFactory` used by this pool to create and manage object instances.
  Constructors in org.apache.commons.pool2.impl with parameters of type PooledObjectFactory
  Modifier
  Constructor
  Description
  ``
  `GenericObjectPool(PooledObjectFactory<T> factory)`
  Creates a new `GenericObjectPool` using defaults from `GenericObjectPoolConfig`.
  ``
  `GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config)`
  Creates a new `GenericObjectPool` using a specific configuration.
  ``
  `GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config, AbandonedConfig abandonedConfig)`
  Creates a new `GenericObjectPool` that tracks and destroys objects that are checked out, but never returned to the pool.
  ``
  `SoftReferenceObjectPool(PooledObjectFactory<T> factory)`
  Constructs a `SoftReferenceObjectPool` with the specified factory.