Search in sources :

Example 1 with VariableMapperImpl

use of com.sun.el.lang.VariableMapperImpl in project oxCore by GluuFederation.

the class ContextProducer method createELContext.

@Produces
@RequestScoped
public ELContext createELContext(BeanManager beanManager) {
    // Create default resovler
    CompositeELResolver resolver = createELResolver(beanManager);
    // Add constant resolver
    ConstantResolver constantResolver = new ConstantResolver();
    resolver.add(constantResolver);
    return createELContext(resolver, new FunctionMapperImpl(), new VariableMapperImpl(), constantResolver);
}
Also used : FunctionMapperImpl(com.sun.el.lang.FunctionMapperImpl) CompositeELResolver(javax.el.CompositeELResolver) VariableMapperImpl(com.sun.el.lang.VariableMapperImpl) Produces(javax.enterprise.inject.Produces) RequestScoped(javax.enterprise.context.RequestScoped)

Aggregations

FunctionMapperImpl (com.sun.el.lang.FunctionMapperImpl)1 VariableMapperImpl (com.sun.el.lang.VariableMapperImpl)1 CompositeELResolver (javax.el.CompositeELResolver)1 RequestScoped (javax.enterprise.context.RequestScoped)1 Produces (javax.enterprise.inject.Produces)1