You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/04/24 15:39:23 UTC

[jira] Updated: (TUSCANY-2210) Java runtime should inject property to field with common name in absence of @Property

     [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-2210:
-----------------------------------------

    Assignee: Vamsavardhana Reddy

The vtest is incorrect as this is applicable to unannotated implementation.  The vtest needs AnotherAServiceImpl which is should be unannotated.

> Java runtime should inject property to field with common name in absence of @Property
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2210
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2210
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>            Reporter: Gilbert Kwan
>            Assignee: Vamsavardhana Reddy
>            Priority: Minor
>
> The Java Annotations&APIs specification Lines 1349 to 1352:
> Properties may also be injected via public setter methods even when the "@Property" annotation is not present. However, the @Property annotation must be used in order to inject a property onto a non-public field. In the case where there is no "@Property" annotation, the name of the property is the same as the name of the field or setter.
> The vTest to demonstrate this issue will be posted later.

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