| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | JdkProxySource(final ClassLoader
The class loader with which to create the proxy classLoader, final Class<?>[] The interfaces to proxy interfaces)Constructs a new proxy source for the given interfaces. |
| 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 |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader | |
| interfaces | back to summary |
|---|---|
| private final Class<?>[] interfaces | |
| JdkProxySource | back to summary |
|---|---|
| public JdkProxySource(final ClassLoader classLoader, final Class<?>[] interfaces) Constructs a new proxy source for the given interfaces.
| |
| 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-
| |