OSGI configuration with multi-field option
Hi,
I have a requirement to create OSGI configuration which can allow to add multiple fields dynamically. I could create configuration with fixed number of fields and provided the code snippet below which is put into meta xml. Can this be modified to add the fields dynamically ? Please assist.
<OCD description="Store Content Configuration" name="com.testosgi.config.storecontent" id="com.testosgi.config.storecontent"">
<AD name="Author Host Name" id="authorHost" required="true" type="String" default="localhost"/>
<AD name="Author Port" id="authorPort" required="true" type="String" default="4502"/>
<AD name="User Name" id="userName" required="false" type="String" default="admin"/>
</OCD>
<Designate pid="com.testosgi.config.storecontent">
<Object ocdref="com.testosgi.config.storecontent"/>
</Designate>
Thanks,
Suresh

