diff --git a/doc/reference/src/objects.xml b/doc/reference/src/objects.xml
index b34d9920..bf272b49 100644
--- a/doc/reference/src/objects.xml
+++ b/doc/reference/src/objects.xml
@@ -2781,7 +2781,7 @@ source.OnClick(); // First eventListener1.HandleEvent is invoked, then eventList
need to add the autowire post processer into your spring configuration
file.
- <object type="Spring.Objects.Factory.Attributes.RequiredAttributeObjectPostProcessor, Spring.Core"/>
+ <object type="Spring.Objects.Factory.Attributes.RequiredAttributeObjectPostProcessor, Spring.Core"/>
To use the autowire attribute on a variable, it can be private
or public. The folowing code shows how to use the attribute. The post
@@ -2834,7 +2834,7 @@ source.OnClick(); // First eventListener1.HandleEvent is invoked, then eventList
primary, the container will throw a
ObjectCreationException.
- <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.HelloFoo, Spring.Core.Tests"
+ <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.HelloFoo, Spring.Core.Tests"
primary="true"/>
You can also use the autowire attribute for injection in to a
@@ -2845,7 +2845,7 @@ source.OnClick(); // First eventListener1.HandleEvent is invoked, then eventList
objects injected. For the dictionary type the key is the registered
name of the object.
- public class AutowireLists
+ public class AutowireLists
{
[Autowired]
public IList<IFoo> foosList;
@@ -2866,11 +2866,17 @@ source.OnClick(); // First eventListener1.HandleEvent is invoked, then eventList
required and therefore will not throw an
ObjectCreationException.
- public class AutowirePropertyNotRequired
+ public class AutowirePropertyNotRequired
{
[Autowired(Required = false)]
public IFoo Hello { get; set; }
}
+
+ The [Autowire] attribute is also processed in
+ the case of an inheritent class that has variables, properties or
+ methods annotated with the [Autowire] attribute.
+ The order of the processing is that all inhertent classes are
+ processed before the actual class is processed.
@@ -2956,7 +2962,7 @@ public class SayFoo : IFoo
objects of the same type and most likely we would not got the object
we wanted.
- <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.SayFoo, Spring.Core.Tests">
+ <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.SayFoo, Spring.Core.Tests">
<qualifier value="hello" />
<property name="_message" value="Hello" />
</object>
@@ -3002,7 +3008,7 @@ public class SayFoo : IFoo
<qualifier> element are the same as your
peroperties in your created attribute.
- <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.SayFoo, Spring.Core.Tests">
+ <object id="HelloFoo" type="Spring.Objects.Factory.Attributes.ByType.SayFoo, Spring.Core.Tests">
<qualifier type="Spring.Objects.Factory.Attributes.ByQualifierAttribute.DialectAttribute">
<attribute key="Language" value="English" />
</qualifier>