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:55:24 UTC
[jira] Commented: (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: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