use of javax.el.CompositeELResolver in project camel by apache.
the class JuelExpression method createContext.
/**
* Factory method to create the EL context
*/
protected ELContext createContext() {
ELResolver resolver = new CompositeELResolver() {
{
add(new ArrayELResolver(false));
add(new ListELResolver(false));
add(new MapELResolver(false));
add(new ResourceBundleELResolver());
add(new BeanAndMethodELResolver());
}
};
return new SimpleContext(resolver);
}
use of javax.el.CompositeELResolver in project camunda-engine-dmn by camunda.
the class JuelElProvider method createDefaultResolver.
protected static ELResolver createDefaultResolver() {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(new VariableContextElResolver());
resolver.add(new ArrayELResolver(true));
resolver.add(new ListELResolver(true));
resolver.add(new MapELResolver(true));
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
use of javax.el.CompositeELResolver in project tomcat70 by apache.
the class ELContextImpl method getDefaultResolver.
public static ELResolver getDefaultResolver() {
if (Constants.IS_SECURITY_ENABLED) {
CompositeELResolver defaultResolver = new CompositeELResolver();
defaultResolver.add(new MapELResolver());
defaultResolver.add(new ResourceBundleELResolver());
defaultResolver.add(new ListELResolver());
defaultResolver.add(new ArrayELResolver());
defaultResolver.add(new BeanELResolver());
return defaultResolver;
} else {
return DefaultResolver;
}
}
use of javax.el.CompositeELResolver in project jersey by jersey.
the class LinkELContext method getELResolver.
@Override
public ELResolver getELResolver() {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(new ResponseContextResolver(entity, resource, instance));
resolver.add(new BeanELResolver(true));
return resolver;
}
use of javax.el.CompositeELResolver in project oxCore by GluuFederation.
the class ContextProducer method createELResolver.
private CompositeELResolver createELResolver(BeanManager beanManager) {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(beanManager.getELResolver());
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
Aggregations