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.
http://eurotech.com/esf/2.0
name | data type | type | namespace | min/max occurs | constraints | description |
---|---|---|---|---|---|---|
pid | string | attribute | 0/1 | The PID (service's persistent identity) of the OSGi Component associated to this configuration. The service's persistent identity is defined as the name attribute of the Component Descriptor XML file; at runtime, the same value is also available in the component.name and in the service.pid attributes of the Component Configuration. | ||
OCD | Tocd | element | ocd | 1/1 | required | The raw ObjectClassDefinition as parsed from the MetaType Information XML resource associated to this Component. |
properties | xmlConfigPropertiesAdapted | element | esf | 0/1 | The Dictionary of properties currently used by this component. |
Example
<configuration pid="..." xmlns="http://eurotech.com/esf/2.0"> <OCD description="..." id="..." name="..." xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0"> <AD cardinality="..." default="..." description="..." id="..." max="..." min="..." name="..." required="..." type="..."> <Option/> <extension1 xmlns="">...</extension1> <extension2 xmlns="">...</extension2> </AD> <Icon resource="..." size="..."> <extension1 xmlns="">...</extension1> <extension2 xmlns="">...</extension2> </Icon> <extension1 xmlns="">...</extension1> <extension2 xmlns="">...</extension2> </OCD> <properties> <property array="..." encrypted="..." name="..." type="..."> <value>...</value> </property> </properties> </configuration>