Provides proxy objects using CGLib.
| Modifier and Type | Field and Description |
|---|---|
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | CglibProxySource(final Class<? extends T>
The class to proxy superclass)Constructs a new proxy source for the given class. |
| Modifier and Type | Method and Description |
|---|---|
| public T | createProxy(final T pooledObject, final UsageTracking<T> usageTracking)
Implements org. Creates a new proxy object, wrapping the given pooled object. |
| public T | resolveProxy(final T proxy)
Implements org. Resolves the wrapped object from the given proxy. |
| public String |
| superclass | back to summary |
|---|---|
| private final Class<? extends T> superclass | |
| CglibProxySource | back to summary |
|---|---|
| public CglibProxySource(final Class<? extends T> superclass) Constructs a new proxy source for the given class.
| |
| createProxy | back to summary |
|---|---|
| public T createProxy(final T pooledObject, final UsageTracking<T> usageTracking) Implements org. Doc from org. Creates a new proxy object, wrapping the given pooled object.
| |
| resolveProxy | back to summary |
|---|---|
| public T resolveProxy(final T proxy) Implements org. Doc from org. Resolves the wrapped object from the given proxy.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |