Class CompositePropertyResolver
java.lang.Object
org.jboss.metadata.property.CompositePropertyResolver
- All Implemented Interfaces:
SimpleExpressionResolver
Resolves properties using a series of other
PropertyResolvers. If any are implementations of
SimpleExpressionResolver, then any default resolution they provide
will not be returned unless no other resolver provides a non-default resolution.
See https://issues.jboss.org/browse/JBMETA-371 for the problem this addresses.- Author:
- John Bailey
-
Nested Class Summary
Nested classes/interfaces inherited from interface SimpleExpressionResolver
SimpleExpressionResolver.ResolutionResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveExpressionContent(String expressionContent) Resolve the given expression content.
-
Constructor Details
-
CompositePropertyResolver
-
-
Method Details
-
resolveExpressionContent
Description copied from interface:SimpleExpressionResolverResolve the given expression content. The following guarantees are made with regard to the content:- The content is the entire string that was included between a leading "${" and a trailing "}".
- The content itself does not include the leading "${" and trailing "}".
- The content itself does not include any other "${" and trailing "}", i.e. there is no nested expression.
- Specified by:
resolveExpressionContentin interfaceSimpleExpressionResolver- Parameters:
expressionContent- the string that was between the leading "${"and trailing "}" in an expression- Returns:
- the result of the resolution, or
nullif the expression content could not be resolved.
-