本文整理了Java中javax.el.ResourceBundleELResolver.
方法的一些代码示例,展示了ResourceBundleELResolver.
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceBundleELResolver.
方法的具体详情如下:
包路径:javax.el.ResourceBundleELResolver
类名称:ResourceBundleELResolver
方法名:
暂无
代码示例来源:origin: spring-projects/spring-framework
public CompositeELResolverImpl() {
add(new ScopeELResolver());
add(new TilesContextELResolver(new TilesContextBeanELResolver()));
add(new TilesContextBeanELResolver());
add(new ArrayELResolver(false));
add(new ListELResolver(false));
add(new MapELResolver(false));
add(new ResourceBundleELResolver());
add(new BeanELResolver(false));
}
}
代码示例来源:origin: DozerMapper/dozer
public DefaultELEngine(ExpressionFactory expressionFactory) {
ELResolver resolver = new CompositeELResolver() {
{
add(new ArrayELResolver());
add(new ListELResolver());
add(new MapELResolver());
add(new BeanELResolver());
add(new ResourceBundleELResolver());
}
};
this.elCOntext= new SimpleELContext(resolver);
this.expressiOnFactory= expressionFactory;
}
代码示例来源:origin: Activiti/Activiti
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);
}
代码示例来源:origin: org.springframework/spring-webmvc
public CompositeELResolverImpl() {
add(new ScopeELResolver());
add(new TilesContextELResolver(new TilesContextBeanELResolver()));
add(new TilesContextBeanELResolver());
add(new ArrayELResolver(false));
add(new ListELResolver(false));
add(new MapELResolver(false));
add(new ResourceBundleELResolver());
add(new BeanELResolver(false));
}
}
代码示例来源:origin: javax.el/javax.el-api
resolver.add(new ResourceBundleELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
代码示例来源:origin: camunda/camunda-bpm-platform
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;
}
}
代码示例来源:origin: resteasy/Resteasy
private static ELResolver createELResolver(Object base) {
CompositeELResolver resolver = new CompositeELResolver();
if (base != null) { resolver.add(new BaseELResolver(base)); }
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
代码示例来源:origin: org.apache.bval/bval-jsr
private static ELResolver initResolver() {
final CompositeELResolver resolver = new CompositeELResolver();
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
代码示例来源:origin: org.picketlink/picketlink-impl
@Inject
private void initialize() {
this.expressiOnFactory= this.beanManager.wrapExpressionFactory(ExpressionFactory.newInstance());
this.elResolver = new CompositeELResolver();
this.elResolver.add(new PicketLinkELResolver(this.beanManager.getELResolver()));
this.elResolver.add(new ArrayELResolver(false));
this.elResolver.add(new ListELResolver(false));
this.elResolver.add(new MapELResolver(false));
this.elResolver.add(new ResourceBundleELResolver());
this.elResolver.add(new BeanELResolver(false));
}
代码示例来源:origin: org.camunda.bpm.dmn/camunda-scriptengine-juel
public ELResolver getELResolver() {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(new ArrayELResolver());
resolver.add(new ListELResolver());
resolver.add(new MapELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return new SimpleResolver(resolver);
}
代码示例来源:origin: io.astefanutti.metrics.cdi/metrics-cdi
ElMetricName(ELResolver resolver, ExpressionFactory expressionFactory, MetricsExtension extension) {
super(extension);
CompositeELResolver composite = new CompositeELResolver();
composite.add(resolver);
composite.add(new MapELResolver());
composite.add(new ListELResolver());
composite.add(new ArrayELResolver());
composite.add(new ResourceBundleELResolver());
composite.add(new BeanELResolver(true));
this.elResolver = composite;
this.expressiOnFactory= expressionFactory;
}
代码示例来源:origin: org.jboss.seam/jboss-seam
private static ELResolver createELResolver()
{
CompositeELResolver resolver = new CompositeELResolver();
resolver.add( new SeamELResolver() );
resolver.add( new MapELResolver() );
resolver.add( new ListELResolver() );
resolver.add( new ArrayELResolver() );
resolver.add( new ResourceBundleELResolver() );
resolver.add( new BeanELResolver() );
return resolver;
}
代码示例来源:origin: org.camunda.bpm.dmn/camunda-engine-dmn
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;
}
}
代码示例来源:origin: weld/core
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;
}
代码示例来源:origin: org.apache.openwebbeans/openwebbeans-porting
public static ELResolver getELResolver()
{
CompositeELResolver composite = new CompositeELResolver();
composite.add(new BeanELResolver());
composite.add(new ArrayELResolver());
composite.add(new MapELResolver());
composite.add(new ListELResolver());
composite.add(new ResourceBundleELResolver());
composite.add(new OwbTckElResolver());
return composite;
}
代码示例来源:origin: org.jboss.weld/weld-porting-package-tck
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;
}
代码示例来源:origin: org.jboss.weld/weld-porting-package-tck11
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;
}
代码示例来源:origin: org.nuxeo.ecm.platform/nuxeo-platform-actions-jsf
public static ELResolver createELResolver() {
CompositeELResolver resolver = new CompositeELResolver();
resolver.add(new DocumentModelResolver());
resolver.add(new SeamELResolver());
resolver.add(new MapELResolver());
resolver.add(new ListELResolver());
resolver.add(new ArrayELResolver());
resolver.add(new ResourceBundleELResolver());
resolver.add(new BeanELResolver());
return resolver;
}
代码示例来源:origin: org.grails/grails-web-jsp
public GroovyPagesJspApplicationContext() {
elResolver.add(new ImplicitObjectELResolver());
elResolver.add(additionalResolvers);
elResolver.add(new MapELResolver());
elResolver.add(new ResourceBundleELResolver());
elResolver.add(new ListELResolver());
elResolver.add(new ArrayELResolver());
elResolver.add(new BeanELResolver());
elResolver.add(new ScopedAttributeELResolver());
}
代码示例来源:origin: org.activiti/activiti-engine
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);
}