Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A provided service can be specialized with properties. Thises properties could be attached to a component field.Properties without a field attribute cannot change dynamically. The component metadata contains the constant value of the property. The property name and type are used for the service publication and for the service filter.

Properties with a field attribute own a link with the component implementation. It reflects a field of the component class. Thus, the component class can change the service value. The name of the field is mandatory, but the two others attribute are optional. If the metadata does not contain a property name, the field name is used as property name. The value attribute allows metadata to fix a value to the property before the first service object instantiation. Indeed, if the component metadata does not contain a value, and if no service objects are created, the property value has no value. iPOJO choose to hide a property without a value.

...