Class JdkProxyHandler<T>

java.lang.Object
org.apache.commons.pool2.proxy.BaseProxyHandler<T>
org.apache.commons.pool2.proxy.JdkProxyHandler<T>
Type Parameters:
T - type of the wrapped pooled object
All Implemented Interfaces:
InvocationHandler

class JdkProxyHandler<T> extends BaseProxyHandler<T> implements InvocationHandler
Java reflection implementation of the proxy handler.
Since:
2.0
  • Constructor Details

    • JdkProxyHandler

      JdkProxyHandler(T pooledObject, UsageTracking<T> usageTracking)
      Constructs a Java reflection proxy instance.
      Parameters:
      pooledObject - The object to wrap
      usageTracking - The instance, if any (usually the object pool) to be provided with usage tracking information for this wrapped object
  • Method Details