Class ViewConfigTransformer


  • public class ViewConfigTransformer
    extends java.lang.Object
    Hook ViewConfigExtension to initialize DeltaspikePlugin
    Author:
    Vladimir Dvorak
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void patchViewConfigExtension​(org.hotswap.agent.javassist.CtClass ctClass, org.hotswap.agent.javassist.ClassPool classPool)
      Register DeltaspikePlugin and add reinitialization method to RepositoryComponent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewConfigTransformer

        public ViewConfigTransformer()
    • Method Detail

      • patchViewConfigExtension

        @OnClassLoadEvent(classNameRegexp="org.apache.deltaspike.jsf.impl.config.view.ViewConfigExtension")
        public static void patchViewConfigExtension​(org.hotswap.agent.javassist.CtClass ctClass,
                                                    org.hotswap.agent.javassist.ClassPool classPool)
                                             throws org.hotswap.agent.javassist.CannotCompileException,
                                                    org.hotswap.agent.javassist.NotFoundException
        Register DeltaspikePlugin and add reinitialization method to RepositoryComponent
        Parameters:
        ctClass -
        classPool - the class pool
        Throws:
        org.hotswap.agent.javassist.CannotCompileException - the cannot compile exception
        org.hotswap.agent.javassist.NotFoundException - the not found exception