Package io.quarkus.deployment.proxy
Class ProxyFactory<T>
- java.lang.Object
-
- io.quarkus.deployment.proxy.ProxyFactory<T>
-
public class ProxyFactory<T> extends Object
A factory that can generate proxies of a class. This was inspired from jboss-invocations's org.jboss.invocation.proxy.ProxyFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ProxyFactory.MethodKey
-
Constructor Summary
Constructors Constructor Description ProxyFactory(ProxyConfiguration<T> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends T>
defineClass()
ClassLoader
getClassLoader()
T
newInstance(InvocationHandler handler)
-
-
-
Constructor Detail
-
ProxyFactory
public ProxyFactory(ProxyConfiguration<T> configuration)
-
-
Method Detail
-
getClassLoader
public ClassLoader getClassLoader()
-
newInstance
public T newInstance(InvocationHandler handler) throws IllegalAccessException, InstantiationException
-
-