hlship 2004/03/01 11:38:56
Modified: hivemind/framework/src/descriptor/META-INF hivemodule.xml
Log:
Add <conversion> and <map> elements to the module deployment descriptor, as a
simpler alternative to the existing <rules> element.
Revision Changes Path
1.9 +5 -8
jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml
Index: hivemodule.xml
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/hivemind/framework/src/descriptor/META-INF/hivemodule.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- hivemodule.xml 1 Mar 2004 01:08:02 -0000 1.8
+++ hivemodule.xml 1 Mar 2004 19:38:56 -0000 1.9
@@ -42,13 +42,10 @@
<description>Service configuration id for a
service which implements the SymbolSource interface.</description>
</attribute>
- <rules>
- <create-object
class="org.apache.hivemind.SymbolSourceContribution"/>
- <read-attribute property="order"
attribute="order" translator="int"/>
- <read-attribute property="source"
attribute="class" translator="object"/>
- <read-attribute property="source"
attribute="service-id" translator="service"/>
- <invoke-parent method="addElement"/>
- </rules>
+ <conversion
class="org.apache.hivemind.SymbolSourceContribution">
+ <map attribute="class" property="source"
translator="object"/>
+ <map attribute="service-id" property="source"
translator="service"/>
+ </conversion>
</element>
</schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]