Class ProxyClassLoadingDelegate
- java.lang.Object
-
- org.hotswap.agent.plugin.weld.command.ProxyClassLoadingDelegate
-
public class ProxyClassLoadingDelegate extends Object
The Weld proxyFactory has its class loading tasks delegated to this class, which can then have some magic applied to make weld think that the class has not been loaded yet.- Author:
- Stuart Douglas, Vladimir Dvorak
-
-
Constructor Summary
Constructors Constructor Description ProxyClassLoadingDelegate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbeginProxyRegeneration()static voidendProxyRegeneration()static Class<?>loadClass(ClassLoader classLoader, String className)static Class<?>toClassWeld2(org.jboss.classfilewriter.ClassFile ct, ClassLoader loader, ProtectionDomain domain)static Class<?>toClassWeld3(Object proxyFactory, org.jboss.classfilewriter.ClassFile ct, Class<?> originalClass, org.jboss.weld.serialization.spi.ProxyServices proxyServices, ProtectionDomain domain)
-
-
-
Method Detail
-
beginProxyRegeneration
public static final void beginProxyRegeneration()
-
endProxyRegeneration
public static final void endProxyRegeneration()
-
loadClass
public static Class<?> loadClass(ClassLoader classLoader, String className) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
toClassWeld2
public static Class<?> toClassWeld2(org.jboss.classfilewriter.ClassFile ct, ClassLoader loader, ProtectionDomain domain) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
toClassWeld3
public static Class<?> toClassWeld3(Object proxyFactory, org.jboss.classfilewriter.ClassFile ct, Class<?> originalClass, org.jboss.weld.serialization.spi.ProxyServices proxyServices, ProtectionDomain domain)
-
-