use of javax.el.MapELResolver in project oxCore by GluuFederation.
the class ContextProducer method createELResolver.
private CompositeELResolver createELResolver(ConstantResolver constantResolver) {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(constantResolver);
resolver.add(beanManager.getELResolver());
FacesContext facesContext = FacesContext.getCurrentInstance();
if (facesContext != null) {
resolver.add(facesContext.getELContext().getELResolver());
}
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
use of javax.el.MapELResolver in project core by weld.
the class ELImpl method createELResolver.
private ELResolver createELResolver(BeanManagerImpl beanManagerImpl) {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(beanManagerImpl.getELResolver());
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
use of javax.el.MapELResolver in project Activiti by Activiti.
the class ExpressionManager method addBaseResolvers.
private void addBaseResolvers(CompositeELResolver elResolver) {
elResolver.add(new ArrayELResolver());
elResolver.add(new ListELResolver());
elResolver.add(new MapELResolver());
elResolver.add(new JsonNodeELResolver());
elResolver.add(new DynamicBeanPropertyELResolver(ItemInstance.class, "getFieldValue", // TODO: needs verification
"setFieldValue"));
elResolver.add(new BeanELResolver());
}
use of javax.el.MapELResolver in project Activiti by Activiti.
the class MockExpressionManager method createElResolver.
@Override
protected ELResolver createElResolver(VariableScope variableScope) {
CompositeELResolver compositeElResolver = new CompositeELResolver();
compositeElResolver.add(new VariableScopeElResolver(variableScope));
compositeElResolver.add(new MockElResolver());
compositeElResolver.add(new ArrayELResolver());
compositeElResolver.add(new ListELResolver());
compositeElResolver.add(new MapELResolver());
compositeElResolver.add(new BeanELResolver());
return compositeElResolver;
}
use of javax.el.MapELResolver in project Activiti by Activiti.
the class JuelScriptEngine method createElResolver.
private ELResolver createElResolver() {
CompositeELResolver compositeResolver = new CompositeELResolver();
compositeResolver.add(new ArrayELResolver());
compositeResolver.add(new ListELResolver());
compositeResolver.add(new MapELResolver());
compositeResolver.add(new JsonNodeELResolver());
compositeResolver.add(new ResourceBundleELResolver());
compositeResolver.add(new DynamicBeanPropertyELResolver(ItemInstance.class, "getFieldValue", "setFieldValue"));
compositeResolver.add(new BeanELResolver());
return new SimpleResolver(compositeResolver);
}
Aggregations