T - type of the pooled object to be proxiedpublic class CglibProxySource<T>
extends java.lang.Object
| Constructor and Description |
|---|
CglibProxySource(java.lang.Class<? extends T> superclass)
Create a new proxy source for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
T |
createProxy(T pooledObject,
UsageTracking<T> usageTracking)
Create a new proxy object, wrapping the given pooled object.
|
T |
resolveProxy(T proxy)
Obtain the wrapped object from the given proxy.
|
public CglibProxySource(java.lang.Class<? extends T> superclass)
superclass - The class to proxypublic 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 objectCopyright © 2001-2014 Apache Software Foundation. Documenation generated July 8 2017.