Uses of Class
org.proxy4j.core.GenerationException
-
Packages that use GenerationException Package Description org.proxy4j.core org.proxy4j.core.build org.proxy4j.core.cglib org.proxy4j.core.javassist org.proxy4j.core.jdk -
-
Uses of GenerationException in org.proxy4j.core
Methods in org.proxy4j.core that throw GenerationException Modifier and Type Method Description protected voidBaseProxyFactory. assertClassVisible(ClassLoader loader, Class<?> type)Verifies that the given class is visible from the given class loader.protected voidBaseProxyFactory. assertInterfaces(Class<?>... types)Verifies that all the given classes are interfaces.<T> TBaseProxyFactory. createProxy(Class<T> proxyClass, T target, Class<? extends Annotation> marker, org.aopalliance.intercept.MethodInterceptor... interceptors)ObjectProxyFactory. createProxy(Class<?>[] proxyInterfaces, ProxyHandler<?> handler)Creates a proxy that implements multiple interfaces where invocations on that proxy are passed to a singleinvokemethod on theProxyHandler.<T> TProxyFactory. createProxy(Class<T> proxyClass, javax.inject.Provider<T> provider)Creates a "virtual" proxy where method invocations on the proxy are delegated to the provided instance.<T> TProxyFactory. createProxy(Class<T> proxyClass, ProxyHandler<T> handler)Creates a proxy where method invocations on the proxy are passed to a singleinvokemethod on theProxyHandler.<T> TProxyFactory. createProxy(Class<T> proxyClass, T target, Class<? extends Annotation> marker, org.aopalliance.intercept.MethodInterceptor... interceptors)Creates a "protection" proxy where method invocations on the proxy are intercepted by the chain ofMethodInterceptorsbefore (optionally) being invoked on the target. -
Uses of GenerationException in org.proxy4j.core.build
Methods in org.proxy4j.core.build that throw GenerationException Modifier and Type Method Description TInterceptorCreator. create()Creates the interceptor proxy using information accumulated in previous build steps. -
Uses of GenerationException in org.proxy4j.core.cglib
Methods in org.proxy4j.core.cglib that throw GenerationException Modifier and Type Method Description ObjectCglibProxyFactory. createProxy(Class<?>[] proxyInterfaces, ProxyHandler<?> handler)The proxy classes must be interfaces, or anGenerationExceptionwill be thrown.<T> TCglibProxyFactory. createProxy(Class<T> proxyClass, javax.inject.Provider<T> provider)The proxy class in this implementation does not have to be an interface.<T> TCglibProxyFactory. createProxy(Class<T> proxyClass, ProxyHandler<T> handler)The proxy class in this implementation does not have to be an interface. -
Uses of GenerationException in org.proxy4j.core.javassist
Methods in org.proxy4j.core.javassist that throw GenerationException Modifier and Type Method Description ObjectJavassistProxyFactory. createProxy(Class<?>[] proxyInterfaces, ProxyHandler<?> handler)<T> TJavassistProxyFactory. createProxy(Class<T> proxyType, javax.inject.Provider<T> provider)<T> TJavassistProxyFactory. createProxy(Class<T> proxyType, ProxyHandler<T> handler) -
Uses of GenerationException in org.proxy4j.core.jdk
Methods in org.proxy4j.core.jdk that throw GenerationException Modifier and Type Method Description ObjectJdkProxyFactory. createProxy(Class<?>[] proxyInterfaces, ProxyHandler<?> handler)<T> TJdkProxyFactory. createProxy(Class<T> proxyInterface, javax.inject.Provider<T> provider)The proxy class (first argument) must be an interface, or anIllegalArgumentExceptionwill be thrown.<T> TJdkProxyFactory. createProxy(Class<T> proxyInterface, ProxyHandler<T> handler)The proxy class (first argument) must be an interface, or anIllegalArgumentExceptionwill be thrown.
-