public class CdiContextsTransformer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BOUND_SESSION_BEAN_STORE_REGISTRY |
| Constructor and Description |
|---|
CdiContextsTransformer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
transformHttpSessionContext(ClassPool classPool,
CtClass ctClass)
Add custom tracker field to session context
|
static void |
transformReloadingWeldContexts(CtClass ctClass,
ClassPool classPool)
Add context reloading functionality to base contexts classes.
|
public static final String BOUND_SESSION_BEAN_STORE_REGISTRY
@OnClassLoadEvent(classNameRegexp="(org.jboss.weld.context.AbstractManagedContext)|(org.jboss.weld.context.AbstractSharedContext)|(org.jboss.weld.context.unbound.DependentContextImpl)|(org.jboss.weld.util.ForwardingContext)|(org.apache.myfaces.flow.cdi.FlowScopedContextImpl)|(org.apache.myfaces.cdi.view.ViewScopeContextImpl)") public static void transformReloadingWeldContexts(CtClass ctClass, ClassPool classPool) throws NotFoundException, CannotCompileException
ctClass - the classclassPool - the class poolNotFoundException - the not found exceptionCannotCompileException - the cannot compile exception@OnClassLoadEvent(classNameRegexp="org.jboss.weld.context.AbstractContext") public static void transformHttpSessionContext(ClassPool classPool, CtClass ctClass) throws NotFoundException, CannotCompileException
ctClass - the classNotFoundException - the not found exceptionCannotCompileException - the cannot compile exceptionCopyright © 2020. All rights reserved.