Package org.apache.openjpa.util
Class ClassLoaderProxyService
java.lang.Object
org.apache.openjpa.util.ClassLoaderProxyService
Service to load classes dynamically at runtime.
This class got forked from Apache OpenWebBeans
-
Constructor Summary
ModifierConstructorDescriptionClassLoaderProxyService
(Configuration config, ClassLoader parentLoader) protected
ClassLoaderProxyService
(org.apache.openjpa.util.ClassLoaderProxyService.ProxiesClassLoader loader) -
Method Summary
Modifier and TypeMethodDescription<T> Class<T>
defineAndLoad
(String name, byte[] bytecode, Class<T> proxiedClass) getProxyClassLoader
(Class<?> forClass) <T> T
newInstance
(Class<? extends T> proxyClass)
-
Constructor Details
-
ClassLoaderProxyService
-
ClassLoaderProxyService
protected ClassLoaderProxyService(org.apache.openjpa.util.ClassLoaderProxyService.ProxiesClassLoader loader)
-
-
Method Details
-
getProxyClassLoader
-
defineAndLoad
-
newInstance
-