org.apache.commons.pool2.proxy (Apache Commons Pool 2.11.1 API)

# Package org.apache.commons.pool2.proxy

Object pooling proxy implementation.

See: Description

- Class Summary
  Class | Description
  --- | ---
  CglibProxySource<T> | Provides proxy objects using CGLib.
  JdkProxySource<T> | Provides proxy objects using Java reflection.
  ProxiedKeyedObjectPool<K,V> | Create a new keyed object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool.
  ProxiedObjectPool<T> | Create a new object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool.

## Package org.apache.commons.pool2.proxy Description

Object pooling proxy implementation.

The `org.apache.commons.pool2.proxy` package defines a object pool that wraps all objects returned to clients. This allows it to disable those proxies when the objects are returned thereby enabling the continued use of those objects by clients to be detected..

Support is provided for `java.lang.reflect.Proxy` and for `net.sf.cglib.proxy` based proxies. The latter, requires the additional of the optional Code Generation Library (GCLib).

Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.