See: Description
Class | Description |
---|---|
DummyFunctionMapper |
A dummy function mapper that is installed by default.
|
DummyVariableMapper |
A dummy variable mapper that is installed by default.
|
ELResolverProducer |
Creates the composite EL Resolver which contains the default EL resolvers,
the CDI EL resolver and any user registered resolvers.
|
Expressions |
Provides various utility methods for working with EL expressions.
|
Annotation Type | Description |
---|---|
Composite |
Qualifier used to identify a
ELResolver that contains the default EL
resolvers and any user registered el resolvers |
Mapper |
Qualifies the
FunctionMapper and VariableMapper beans used to
create an ELContext for use in Expressions . |
Resolver |
Qualifier used to identify a javax.el.ELResolver to register with the
application wide javax.el.ELResolver provided by Solder
|
Provides an application wide EL value and method expression resolution facility as well as a improved API for evaluating EL expressions aimed at ease of use.
To use the improved API, inject the Expressions bean, and call one of it's evaluate
methods:
@Inject Expressions expressions; ... Address address = expressions.evaluateValueExpression("#{person.address}"); ... expressions.evaluateMethodExpression("#{userManager.savePerson}");
By default Solder will only resolve beans from CDI, and provides no function or variable mapping.
If you integrating Solder into an environment that provides a source of beans for EL resolution, you can
register an ELResolver
by creating a bean of type ELResolver
with the qualifier
@Resolver
.
If you integrating Solder into an environment that provides a function or variable mapper, you can also
provide an alternative FunctionMapper
or VariableMapper
. Simply create a bean
exposing your alternative implementation with the qualifier @Mapper
.
Expressions
,
Resolver
,
Mapper
Copyright © 2008–2013 Seam Framework. All rights reserved.