You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Gilbert Kwan (JIRA)" <tu...@ws.apache.org> on 2008/04/08 19:35:25 UTC

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

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
            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.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


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

Posted by "Gilbert Kwan (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586908#action_12586908 ] 

Gilbert Kwan commented on TUSCANY-2210:
---------------------------------------

The vTest to demonstrate this issue will be added by  TUSCANY-2211, where the test cases are
- org.apache.tuscany.sca.vtest.javaapi.annotations.property.PropertyAnnotationTestCase.atProperty2()
- org.apache.tuscany.sca.vtest.javaapi.annotations.property.PropertyAnnotationTestCase.atProperty3()

> 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
>            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.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


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

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ 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.


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

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws resolved TUSCANY-2210.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-Next

Committed at r652501

> 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: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2210.patch
>
>
> 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.


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

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-2210:
-----------------------------------

    Assignee: Simon Laws

> 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: Simon Laws
>            Priority: Minor
>         Attachments: TUSCANY-2210.patch
>
>
> 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.


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

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: TUSCANY-2210.patch

TUSCANY-2210.patch: Fixes the vtest.

> 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
>         Attachments: TUSCANY-2210.patch
>
>
> 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.


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

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy reassigned TUSCANY-2210:
--------------------------------------------

    Assignee:     (was: Vamsavardhana Reddy)

Unassigning so that a committer can pickup.

> 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
>            Priority: Minor
>         Attachments: TUSCANY-2210.patch
>
>
> 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.