/** * Add custom tracker field to session context * * @param ctClass the class * @throws NotFoundException the not found exception * @throws CannotCompileException the cannot compile exception */ @OnClassLoadEvent(classNameRegexp = "org.jboss.weld.context.AbstractContext") public static void transformHttpSessionContext(ClassPool classPool, CtClass ctClass) throws NotFoundException, CannotCompileException { HaCdiCommons.transformContext(classPool, ctClass); } }
@OnClassLoadEvent(classNameRegexp = "org.apache.deltaspike.core.util.context.AbstractContext") public static void patchWindowContext(ClassPool classPool, CtClass ctClass) throws CannotCompileException, NotFoundException { HaCdiCommons.transformContext(classPool, ctClass); } }
@OnClassLoadEvent(classNameRegexp = "org.omnifaces.cdi.viewscope.ViewScopeContext") public static void patchViewScopeContext(ClassPool classPool, CtClass ctClass) throws CannotCompileException, NotFoundException { HaCdiCommons.transformContext(classPool, ctClass); }
@OnClassLoadEvent(classNameRegexp = "org.apache.webbeans.context.AbstractContext") public static void transformAbstractContext(ClassPool classPool, CtClass ctClass) throws NotFoundException, CannotCompileException { HaCdiCommons.transformContext(classPool, ctClass); }
@OnClassLoadEvent(classNameRegexp = "com.sun.faces.application.view.ViewScopeContext") public static void patchViewScopeContext(ClassPool classPool, CtClass ctClass) throws CannotCompileException, NotFoundException { HaCdiCommons.transformContext(classPool, ctClass); }
@OnClassLoadEvent(classNameRegexp = "org.apache.myfaces.cdi.view.ViewScopeContextImpl") public static void patchViewScopeContext(ClassPool classPool, CtClass ctClass) throws CannotCompileException, NotFoundException { HaCdiCommons.transformContext(classPool, ctClass); }