public class ProxyClassCache extends Object
ProxyClassGenerator
. A
proxy class cache ensures that there is only one class for every ProxyClassGenerator
/ClassLoader
/proxy class array combination.Constructor and Description |
---|
ProxyClassCache(ProxyClassGenerator proxyClassGenerator)
Create a new ProxyClassCache instance.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getProxyClass(ClassLoader classLoader,
Class<?>[] proxyClasses)
Returns the proxy class generated by the
ProxyClassGenerator using the specified ClassLoader and
array of proxy classes. |
public ProxyClassCache(ProxyClassGenerator proxyClassGenerator)
proxyClassGenerator
- public Class<?> getProxyClass(ClassLoader classLoader, Class<?>[] proxyClasses)
ProxyClassGenerator
using the specified ClassLoader
and
array of proxy classes.classLoader
- the classloaderproxyClasses
- the proxy classesProxyClassGenerator
using the specified ClassLoader
and
array of proxy classesCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.