Package org.apache.commons.pool2.proxy

## Class CglibProxySource<T>

- java.lang.Object
- - org.apache.commons.pool2.proxy.CglibProxySource<T>

- Type Parameters:
    `T` - type of the pooled object to be proxied

      public class CglibProxySource<T>
      extends Object

  Provides proxy objects using CGLib.
  Since:
    2.0

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CglibProxySource​(Class<? extends T> superclass)` | Constructs a new proxy source for the given class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `createProxy​(T pooledObject, UsageTracking<T> usageTracking)` |
    `T` | `resolveProxy​(T proxy)` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CglibProxySource

          public CglibProxySource​(Class<? extends T> superclass)

      Constructs a new proxy source for the given class.
      Parameters:
        `superclass` - The class to proxy

  - ### Method Detail

    - #### createProxy

          public T createProxy​(T pooledObject,
                               UsageTracking<T> usageTracking)

    - #### resolveProxy

          public T resolveProxy​(T proxy)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`
      Since:
        2.4.3