T
- type of the pooled object to be proxiedpublic class CglibProxySource<T> extends Object
Constructor and Description |
---|
CglibProxySource(Class<? extends T> superclass)
Constructs a new proxy source for the given class.
|
Modifier and Type | Method and Description |
---|---|
T |
createProxy(T pooledObject,
UsageTracking<T> usageTracking)
Creates a new proxy object, wrapping the given pooled object.
|
T |
resolveProxy(T proxy)
Resolves the wrapped object from the given proxy.
|
String |
toString() |
public T createProxy(T pooledObject, UsageTracking<T> usageTracking)
pooledObject
- The object to wrapusageTracking
- The instance, if any (usually the object pool) to
be provided with usage tracking information for this
wrapped objectpublic T resolveProxy(T proxy)
proxy
- The proxy objectCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.