Class ProxyClassLoadingDelegate


  • public class ProxyClassLoadingDelegate
    extends Object
    The OWB proxyFactory has its class loading tasks delegated to this class, which can then have some magic applied to make OWB think that the class has not been loaded yet.
    Author:
    Vladimir Dvorak
    • Constructor Detail

      • ProxyClassLoadingDelegate

        public ProxyClassLoadingDelegate()
    • Method Detail

      • setGeneratingProxyName

        public static void setGeneratingProxyName​(String generatingProxyName)
      • beginProxyRegeneration

        public static final void beginProxyRegeneration()
      • endProxyRegeneration

        public static final void endProxyRegeneration()
      • defineAndLoadClass

        public static Class<?> defineAndLoadClass​(org.apache.webbeans.proxy.AbstractProxyFactory proxyFactory,
                                                  ClassLoader classLoader,
                                                  String proxyName,
                                                  byte[] proxyBytes)
      • defineAndLoadClassWithUnsafe

        public static Class<?> defineAndLoadClassWithUnsafe​(Object unsafe,
                                                            ClassLoader classLoader,
                                                            String proxyName,
                                                            byte[] proxyBytes)
      • defineAndLoadClassWithUnsafe

        public static Class<?> defineAndLoadClassWithUnsafe​(Object unsafe,
                                                            ClassLoader classLoader,
                                                            String proxyName,
                                                            byte[] proxyBytes,
                                                            Class<?> classToProxy)