diff --git a/doc/reference/src/objects.xml b/doc/reference/src/objects.xml index 637068d7..959dbdee 100644 --- a/doc/reference/src/objects.xml +++ b/doc/reference/src/objects.xml @@ -5057,9 +5057,23 @@ cfg.PostProcessObjectFactory(factory); - Then you can use ${peggy_name} - and ${peter_age} as variables in your object - definitions. + Then you can use ${peggy_name}, + ${peggy_age}, + &{peter_name} and + ${peter_age} as variables in your object + definitions. They will be retrieved using the appropriate + scope. + Changes to user settings during the lifetime of your + application context will not be be visible + to the ConfigSectionVariableSource. Although + variables based on user settings will be resolved using user + scope, variables will only be resolved when the + VariablePlaceholderConfigurer is + initialized: that is when the context is created. Any + object (including lazy-loaded singletons and non-singletons) you + retrieve from the context will have the variable values injected + as they were when the context was loaded. +