...
Name | Default Value | Required | Descriptor | Description |
name | Name of the field | yes | | The local name of the reference. If the |
interface | Type of the field | yes | | The name of the service interface. This name is used by the Service Component Runtime to access the service on behalf of the component. If the |
cardinality | | no | | The cardinality of the service reference. This must be one of |
policy | | no | | The dynamicity policy of the reference. If |
target | no | | A service target filter to select specific services to be made available. In order to be able to overwrite the value of this value by a configuration property, this parameter must be declared. If the parameter is not declared, the respective declaration attribute will not be generated | |
bind | See description | no | | The name of the method to be called when the service is to be bound to the component. The default value is the name created by appending the reference |
unbind | See description | no | | The name of the method to be called when the service is to be unbound from the component. The default value is the name created by appending the reference |
Notes:
- It is not currently possible to declare a reference without
bind
orunbind
If you define a reference on a field and there is no bind or unbind method, the plugin will create the necessary methods.
Abstract Service Descriptions
...