Fix the Felix-628 issue.
Now, the Architecture service is published the architecture.instance property instead of the instance.name property (used by functional services). This property indicates the instance name.
This change was made for the two Architecture handler (atomic components and composite components).
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@674872 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/composite/src/main/resources/metadata.xml b/ipojo/composite/src/main/resources/metadata.xml
index 68761db..263ef34 100644
--- a/ipojo/composite/src/main/resources/metadata.xml
+++ b/ipojo/composite/src/main/resources/metadata.xml
@@ -39,7 +39,7 @@
classname="org.apache.felix.ipojo.composite.architecture.ArchitectureHandler"
name="architecture" type="composite" architecture="false">
<provides>
- <property field="m_name" name="instance.name" value="" />
+ <property field="m_name" name="architecture.instance" value="" />
</provides>
</handler>
</ipojo>
\ No newline at end of file
diff --git a/ipojo/core/src/main/resources/metadata.xml b/ipojo/core/src/main/resources/metadata.xml
index 8506324..682549a 100644
--- a/ipojo/core/src/main/resources/metadata.xml
+++ b/ipojo/core/src/main/resources/metadata.xml
@@ -39,7 +39,7 @@
classname="org.apache.felix.ipojo.handlers.architecture.ArchitectureHandler"
name="architecture" architecture="false">
<provides interface="org.apache.felix.ipojo.architecture.Architecture">
- <property field="m_name" name="instance.name" value="" />
+ <property field="m_name" name="architecture.instance" value="" />
</provides>
</handler>
</ipojo>
\ No newline at end of file