aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Mahrwald (JIRA)" <>
Subject [jira] Assigned: (ARIES-366) Provide property injection for properties with overloaded setter method
Date Sat, 24 Jul 2010 09:23:49 GMT


Valentin Mahrwald reassigned ARIES-366:

    Assignee: Valentin Mahrwald

> Provide property injection for properties with overloaded setter method
> -----------------------------------------------------------------------
>                 Key: ARIES-366
>                 URL:
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>    Affects Versions: 0.1
>         Environment: Any
>            Reporter: Tomasz Chodakowski
>            Assignee: Valentin Mahrwald
>            Priority: Minor
> When injecting bean property with overloaded setter method the framework returns an exception:

> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find property
descriptor <bean-property-setter> on class <bean-class>
>  Apparently, behaviour for this case was relaxed in Enterprise OSGI 4.2 spec (see section
> "There should only be one set method with a single argument for a specific property.
If overloaded properties are
> encountered, the chosen set method is unspecified."
>  Taking into account origin of the Blueprint service and possible migration paths for
future users I believe the best case would be to follow Spring 3.x behaviour regarding the
case above (just to minimize surprises).
> ps:
> For user-forum discussion see:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message