diff --git a/doc/reference/src/objects.xml b/doc/reference/src/objects.xml index 0ff2487f..c135e961 100644 --- a/doc/reference/src/objects.xml +++ b/doc/reference/src/objects.xml @@ -5168,6 +5168,13 @@ joan_age=35 <object type="Spring.Objects.Factory.Config.RegistryVariableSource, Spring.Core"> <property name="Key" value="HKEY_CURRENT_USER\MyKey" /> </object> + + + The key must be present in the registry when the + configuration is read, otherwise an + ObjectCreationException will be + thrown. +