| org.springframework.beans.factory.config.PropertyResourceConfigurer org.springframework.beans.factory.config.PropertyPlaceholderConfigurer org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer
Method Summary | |
public void | afterPropertiesSet() This implementation eagerly fetches the Preferences instances
for the required system and user tree nodes. | protected String | resolvePlaceholder(String placeholder, Properties props) This implementation tries to resolve placeholders as keys first
in the user preferences, then in the system preferences, then in
the passed-in properties. | protected String | resolvePlaceholder(String path, String key, Preferences preferences) Resolve the given path and key against the given Preferences. | public void | setSystemTreePath(String systemTreePath) Set the path in the system preferences tree to use for resolving
placeholders. | public void | setUserTreePath(String userTreePath) Set the path in the system preferences tree to use for resolving
placeholders. |
afterPropertiesSet | public void afterPropertiesSet()(Code) | | This implementation eagerly fetches the Preferences instances
for the required system and user tree nodes.
|
resolvePlaceholder | protected String resolvePlaceholder(String placeholder, Properties props)(Code) | | This implementation tries to resolve placeholders as keys first
in the user preferences, then in the system preferences, then in
the passed-in properties.
|
resolvePlaceholder | protected String resolvePlaceholder(String path, String key, Preferences preferences)(Code) | | Resolve the given path and key against the given Preferences.
Parameters: path - the preferences path (placeholder part before '/') Parameters: key - the preferences key (placeholder part after '/') Parameters: preferences - the Preferences to resolve against the value for the placeholder, or null if none found |
setSystemTreePath | public void setSystemTreePath(String systemTreePath)(Code) | | Set the path in the system preferences tree to use for resolving
placeholders. Default is the root node.
|
setUserTreePath | public void setUserTreePath(String userTreePath)(Code) | | Set the path in the system preferences tree to use for resolving
placeholders. Default is the root node.
|
|
|