T - type of the pooled object to be proxiedpublic class CglibProxySource<T>
extends java.lang.Object
| 构造器和说明 |
|---|
CglibProxySource(java.lang.Class<? extends T> superclass)
Create a new proxy source for the given class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.lang.String |
toString() |
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 objectpublic T resolveProxy(T proxy)
proxy - The proxy objectpublic java.lang.String toString()
toString 在类中 java.lang.Object