From e51c7e9bc7f71c64dd6d75ca2e864ed450a54fb2 Mon Sep 17 00:00:00 2001 From: bbaia Date: Fri, 18 Jul 2008 09:47:40 +0000 Subject: [PATCH] Added first draft of spring-objects-1.2.xsd (synchronized with Java). --- .../Factory/Xml/spring-objects-1.2.xsd | 1400 +++++++++++++++++ 1 file changed, 1400 insertions(+) create mode 100644 src/Spring/Spring.Core/Objects/Factory/Xml/spring-objects-1.2.xsd diff --git a/src/Spring/Spring.Core/Objects/Factory/Xml/spring-objects-1.2.xsd b/src/Spring/Spring.Core/Objects/Factory/Xml/spring-objects-1.2.xsd new file mode 100644 index 00000000..2bddbb9c --- /dev/null +++ b/src/Spring/Spring.Core/Objects/Factory/Xml/spring-objects-1.2.xsd @@ -0,0 +1,1400 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /' element. + ]]> + + + + + + + /' element. + ]]> + + + + + + + + + + + + + + + + /' element. + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element (or "ref" + attribute). We recommend this in most cases as it makes documentation + more explicit. + + 2. "byName" + Autowiring by property name. If an object of class Cat exposes a dog + property, Spring will try to set this to the value of the object "dog" + in the current container. If there is no matching object by name, nothing + special happens; use dependency-check="objects" to raise an error in + that case. + + 3. "byType" + Autowiring if there is exactly one object of the property type in the + container. If there is more than one, a fatal error is raised, and + you cannot use byType autowiring for that object. If there is none, + nothing special happens; use dependency-check="objects" to raise an + error in that case. + + 4. "constructor" + Analogous to "byType" for constructor arguments. If there is not exactly + one object of the constructor argument type in the object factory, a fatal + error is raised. + + 5. "autodetect" + Chooses "constructor" or "byType" through introspection of the object + class. If a default constructor is found, "byType" gets applied. + + Note that explicit dependencies, i.e. "property" and "constructor-arg" + elements, always override autowiring. Autowire behavior can be combined + with dependency checking, which will be performed after all autowiring + has been completed. + + Note: This attribute will not be inherited by child object definitions. + Hence, it needs to be specified per concrete object definition. + ]]> + + + + + + + + + + + + + + + element (or "ref" + attribute). We recommend this in most cases as it makes documentation + more explicit. + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " element. + ]]> + + + + + + + ..." element. + ]]> + + + + + + + " element. + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " element. + ]]> + + + + + + + ..." element. + ]]> + + + + + + + " element. + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ". + ]]> + + + + + + + ..." element. + ]]> + + + + + + + " element. + ]]> + + + + + + + " element. + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +