Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A new activation-fields attribute is defined for the <component> element which names the instance fields in the component implementation class which are to be injected with component activation objects. This attribute must contain a whitespace separated list of field names.
An activation field must be one of the following types:
- ComponentContext - The field will be set to the Component Context for the component configuration.
- BundleContext - The field will be set the Bundle Context of the component's bundle.
- Map - The field will be set with an unmodifiable Map containing the component properties.
- A component property type - The field will be set with an instance of the component property type which allows type safe access to component properties defined by the component property type.