...
Name | Default Value | Required | SCR | Metatype | Description |
name | Fully qualified name of the Java class | no | | | Defines the Component name also used as the PID for the Configuration Admin Service |
ds | | no | Whether Declarative Services descriptor is generated or not. If this parameter is not set or set to | ||
componentAbstract | see description | no | This marks an abstract service description which is not added to the descriptor but intended for reuse through inheritance. This attribute defaults to | ||
enabled | | no | | Whether the component is enabled when the bundle starts | |
factory | no | | Whether the component is a factory component | ||
immediate | no | | Whether the component is immediately activated | ||
inherit | | no | Whether any service, property and reference declarations from base classes should be inherited by this class. | ||
metatype | | no | Whether Metatype Service data is generated or not. If this parameter is not set or set to | ||
label | | no | | This is generally used as a title for the object described by the meta type. This name may be localized by prepending a | |
description | | no | | This is generally used as a description for the object described by the meta type. This name may be localized by prepending a | |
createPid | | no | | Generate the |
...
Name | Default Value | Required | SCR | Metatype | Description | ||
name | The name of constant | yes | | | The name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type | ||
value | no | | | The string value of the property. This can either be a single value or an array. | |||
longValue | no | | | The long value of the property. This can either be a single value or an array. | |||
doubleValue | no | | | The double value of the property. This can either be a single value or an array. | |||
floatValue | no | | | The float value of the property. This can either be a single value or an array. | |||
intValue | no | | | The int value of the property. This can either be a single value or an array. | |||
byteValue | no | | | The byte value of the property. This can either be a single value or an array. | |||
charValue | no | | | The char value of the property. This can either be a single value or an array. | |||
boolValue | no | | | The boolean value of the property. This can either be a single value or an array. | |||
shortValue | no | | | The short value of the property. This can either be a single value or an array. | |||
label | | no | | The label to display in a form to configure this property. This name may be localized by prepending a | |||
description | | no | | A descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a | |||
propertyPrivate | Depending on the name | no | See description | Boolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an | |||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9d9f2b732d15df2e-99a6ba07-469c4d89-a9daaabe-c9fec7dd64993d3b226c032c"><ac:plain-text-body><![CDATA[ | cardinality | Depends on property value(s) | no | | Defines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a | ]]></ac:plain-text-body></ac:structured-macro> | |
options | no | See below | See below for a description of the |
...
Name | Default Value | Required | SCR | Metatype | Description | ||
name | The name of constant | yes | | | The name of the property. If this tag is defined on a field with an initialization expression, the value of that expression is used as the name if the field is of type | ||
value | no | | | The value of the property. If the property type is not | |||
type | | no | | | The type of the property value. This must be one of | ||
label | | no | | The label to display in a form to configure this property. This name may be localized by prepending a | |||
description | | no | | A descriptive text to provide the client in a form to configure this property. This name may be localized by prepending a | |||
private | Depending on the name | no | See description | Boolean flag defining whether a metatype descriptor entry should be generated for this property or not. By default a metatype descriptor entry, i.e. an | |||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a85af66ac69177cb-acc6d019-4d254183-81108576-a172e29133f5a50afa18973e"><ac:plain-text-body><![CDATA[ | cardinality | Depends on property value(s) | no | | Defines the cardinality of the property and its collection type. If the cardinality is negative, the property is expected to be stored in a | ]]></ac:plain-text-body></ac:structured-macro> | |
options | no | See below | See below for a description of the | ||||
values* | no | See below | See below for a description of parameters starting with | ||||
valueRef | no | | A constant containing the value for this property. The constant can either be declared in the same class as this property or in any class that is imported. The type of the property is derived from the constant. | ||||
valueRefs | no | See below | Same as the |
...
- If you define a reference on a field with the strategy
event
and there is no bind or unbind method, the plugin will create the necessary methods.
...
Differences between JavaDoc tags and annotations
In general both mechanisms provide the same functionality. There are some subtle difference which are listed in this section:
...