private static class ServletContextPropertyUtils.ServletContextPlaceholderResolver extends java.lang.Object implements PropertyPlaceholderHelper.PlaceholderResolver
Modifier and Type | Field and Description |
---|---|
private ServletContext |
servletContext |
private java.lang.String |
text |
Constructor and Description |
---|
ServletContextPlaceholderResolver(java.lang.String text,
ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolvePlaceholder(java.lang.String placeholderName)
Resolves the supplied placeholder name into the replacement value.
|
private final java.lang.String text
private final ServletContext servletContext
public ServletContextPlaceholderResolver(java.lang.String text, ServletContext servletContext)
public java.lang.String resolvePlaceholder(java.lang.String placeholderName)
PropertyPlaceholderHelper.PlaceholderResolver
resolvePlaceholder
in interface PropertyPlaceholderHelper.PlaceholderResolver
placeholderName
- the name of the placeholder to resolvenull
if no replacement is to be made