Package org.jboss.solder.el

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.

See:
          Description

Class Summary
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 Types Summary
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.
 

Package org.jboss.solder.el Description

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 Seam Solder will only resolve beans from CDI, and provides no function or variable mapping.

If you integrating Seam 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 Seam 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.

See Also:
Expressions, Resolver, Mapper


Copyright © 2008-2011 Seam Framework. All Rights Reserved.