configuration element

Type: deviceComponentConfiguration
Namespace: http://eurotech.com/esf/2.0
XML Schema: esf.xsd

Describes the configuration of an OSGi Component. The Component configuration groups all the information related to the configuration of a Component. It provides access to parsed ObjectClassDefintion associated to this Component. The configuration does not reuse the OSGi ObjectClassDefinition as the latter does not provide access to certain aspects such as the required attribute, the min and max values. Instead it returns the raw ObjectClassDefintion as parsed from the MetaType Information XML resource associated to this Component.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="http://eurotech.com/esf/2.0" pid="..."> <ocd:OCD xmlns:ocd="http://www.osgi.org/xmlns/metatype/v1.2.0">...</ocd:OCD> <properties> <property name="..." array="..." encrypted="..." type="..."> <value>...</value> <value>...</value> <!--...more "value" elements...--> </property> <property name="..." array="..." encrypted="..." type="..."> <!--...--> </property> <!--...more "property" elements...--> </properties> </configuration>

Example JSON

{ "pid" : "...", "OCD" : { }, "properties" : { "property" : [ { "name" : "...", "array" : false, "encrypted" : false, "type" : "String", "value" : [ "...", ... ] }, ... ] } }