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

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 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.

See Also:
Expressions, Resolver, Mapper

Copyright © 2008–2013 Seam Framework. All rights reserved.