Add constructor-parameter attributes in the XSD.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1054947 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/core/src/main/resources/core.xsd b/ipojo/core/src/main/resources/core.xsd
index 66cb2d5..6046c8d 100644
--- a/ipojo/core/src/main/resources/core.xsd
+++ b/ipojo/core/src/main/resources/core.xsd
@@ -263,6 +263,13 @@
</xs:annotation>
</xs:attribute>
+ <xs:attribute name="constructor-parameter" type="xs:int" use="optional">
+ <xs:annotation>
+ <xs:documentation>The index of the parameter if the dependency is injected
+ using the constructor.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
<xs:attribute name="nullable" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Enable or disable the Nullable pattern on optional service
@@ -452,6 +459,12 @@
value. </xs:documentation>
</xs:annotation>
</xs:attribute>
+ <xs:attribute name="constructor-parameter" type="xs:int" use="optional">
+ <xs:annotation>
+ <xs:documentation>The index of the parameter if the property is injected
+ using the constructor.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation> Name of the property. </xs:documentation>