CGLib implementation of the proxy handler.
| Access | Constructor and Description |
|---|---|
| pack-priv | CglibProxyHandler(final T
The object to wrap pooledObject, final UsageTracking<T> The instance, if any (usually the object pool) to
be provided with usage tracking information for this
wrapped object usageTracking)Constructs a CGLib proxy instance. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | intercept(final Object object, final Method method, final Object[] args, final MethodProxy methodProxy)
Implements net. All generated proxied methods call this method instead of the original method. |
| CglibProxyHandler | back to summary |
|---|---|
| pack-priv CglibProxyHandler(final T pooledObject, final UsageTracking<T> usageTracking) Constructs a CGLib proxy instance.
| |
| intercept | back to summary |
|---|---|
| public Object intercept(final Object object, final Method method, final Object[] args, final MethodProxy methodProxy) throws Throwable Implements net. Doc from net. All generated proxied methods call this method instead of the original method. The original method may either be invoked by normal reflection using the Method object, or by using the MethodProxy (faster). | |