Class JdkProxySource<T>

java.lang.Object
org.apache.commons.pool2.proxy.JdkProxySource<T>
Type Parameters:
T - type of the pooled object to be proxied

public class JdkProxySource<T> extends Object
Provides proxy objects using Java reflection.
Since:
2.0
  • Constructor Details

    • JdkProxySource

      public JdkProxySource(ClassLoader classLoader, Class<?>[] interfaces)
      Constructs a new proxy source for the given interfaces.
      Parameters:
      classLoader - The class loader with which to create the proxy
      interfaces - The interfaces to proxy
  • Method Details