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
cglib is unmaintained and does not work well (or possibly at all?) in newer JDKs, particularly JDK17+; see https://github.com/cglib/cglib
Provides proxy objects using CGLib.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionCglibProxySource
(Class<? extends T> superclass) Constructs a new proxy source for the given class. -
Method Summary
Modifier and TypeMethodDescriptioncreateProxy
(T pooledObject, UsageTracking<T> usageTracking) resolveProxy
(T proxy) toString()