| Summary: | Services cannot be exported by referencing spring bean name aliases | ||
|---|---|---|---|
| Product: | [RT] Gemini.Blueprint | Reporter: | Jean-Pierre Bergamin <james> |
| Component: | Core | Assignee: | Project Inbox <gemini.blueprint-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | glyn.normington, olaf |
| Version: | 1.0.2.RELEASE | Flags: | glyn.normington:
documentation+
|
| Target Milestone: | 2.1.0.M01 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 393961 | ||
|
Description
Jean-Pierre Bergamin
Presumably this is due to a change in behaviour between Spring DM 1.2.x in Virgo 3.0.x and Gemini Blueprint, which is based on Spring DM 2.0, in Virgo 3.5.x. This is working as designed since Gemini Blueprint requires the service element ref attribute to refer to the id of a bean element rather than the value of the bean element's name attribute. This is consistent with the OSGi Blueprint specification which does not support a name attribute on a bean element. Let's use this bug, therefore, to clarify the documentation. Assigned to upcoming milestone As commented, works compliant to the specification: Aliases are not used to reference services, using IDs is required Released - closing. |