|
JBoss Metadata Common 7.2.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.property.CompositePropertyResolver
public class CompositePropertyResolver
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.metadata.property.SimpleExpressionResolver |
|---|
SimpleExpressionResolver.ResolutionResult |
| Constructor Summary | |
|---|---|
CompositePropertyResolver(Collection<PropertyResolver> resolvers)
Deprecated. |
|
CompositePropertyResolver(PropertyResolver... resolvers)
Deprecated. |
|
CompositePropertyResolver(SimpleExpressionResolver... resolvers)
|
|
| Method Summary | |
|---|---|
String |
resolve(String propertyName)
Deprecated. use SimpleExpressionResolver and resolveExpressionContent(String) |
SimpleExpressionResolver.ResolutionResult |
resolveExpressionContent(String expressionContent)
Resolve the given expression content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public CompositePropertyResolver(Collection<PropertyResolver> resolvers)
@Deprecated public CompositePropertyResolver(PropertyResolver... resolvers)
public CompositePropertyResolver(SimpleExpressionResolver... resolvers)
| Method Detail |
|---|
@Deprecated public String resolve(String propertyName)
SimpleExpressionResolver and resolveExpressionContent(String)
propertyName as expression content and passes it to resolveExpressionContent(String).
This method is retained for compatibility with legacy PropertyResolver usage.
resolve in interface PropertyResolverpropertyName - the expression
The name to resolve.
null if the property can not be resolved.public SimpleExpressionResolver.ResolutionResult resolveExpressionContent(String expressionContent)
SimpleExpressionResolver
resolveExpressionContent in interface SimpleExpressionResolverexpressionContent - the string that was between the leading "${"and trailing "}" in an expression
null if the expression content could not be resolved.
|
JBoss Metadata Common 7.2.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||