Skip to content

Commit

Permalink
Update 0003-declarative-services.md
Browse files Browse the repository at this point in the history
add note about requirements on the service component name field
  • Loading branch information
jeffdiclemente authored Jan 28, 2020
1 parent efd52f8 commit 08976c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0003-declarative-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ elements of a JSON object representing the service component:
|Key|Value Type|Description|Mandatory|Default Value|
|--- |--- |--- |--- |--- |
|implementation-class|string|The fully qualified C++ class name of the implementation class. This element is required and defines the name of the component implementation class. If the component description specifies a service, the class must implement all interfaces that are provided by the service.|Yes|none. If this element is not specified, the metadata parser will fail to parse the service component description|
|name|string|The name of a component must be unique in a bundle. The component name is used as the unique identifier for the component. This element is optional. If no name is specified, the value for the "implementation-class" key in this dictionary is used as the name.|No|The value of the implementation-class is used as name if no name is specified in the service description|
|name|string|The name of a component must be unique in a bundle. The component name is used as the unique identifier for the component. This element is optional. If no name is specified, the value for the "implementation-class" key in this dictionary is used as the name.|No|The value of the implementation-class is used as name if no name is specified in the service description. **NOTE:** The name must be a valid C language identifier.|
|enabled|bool|Controls whether the component is enabled when the bundle is started.|No|True|
|immediate|bool|True if the component type is immediate and False if the component type is delayed.<br> An immediate component is activated as soon as the component is satisfied. <br> For delayed components, when the component is satisfied, the service is registered, but the component is not activated until a call to GetService is received by the runtime.|No|True if the component does not provide a service. <br> False if the component provides a service.|
|properties|map|A map used as service component properties. These properties are made available to the service component instance at runtime.|No|null object|
Expand Down

0 comments on commit 08976c5

Please sign in to comment.