You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/04/24 07:39:05 UTC
[jira] Resolved: (TUSCANY-73) Which access modifiers on fields
annotated with @Reference?
[ http://issues.apache.org/jira/browse/TUSCANY-73?page=all ]
Jean-Sebastien Delfino resolved TUSCANY-73:
-------------------------------------------
Resolution: Fixed
Only protected and public fields can be annotated with @Property.
> Which access modifiers on fields annotated with @Reference?
> -----------------------------------------------------------
>
> Key: TUSCANY-73
> URL: http://issues.apache.org/jira/browse/TUSCANY-73
> Project: Tuscany
> Type: Sub-task
> Components: Specification
> Reporter: Jean-Sebastien Delfino
>
> Here's what the SCA 0.9 C&I spec says about access modifiers on fields annotated with @Property:
> The @Property annotation may be used irrespective of the access modifier of the field (even private), since
> the access modifier defines the contract with the client of the component, whereas the @Property
> annotation specifies a contract with the container of the component.
> The SCA C&I spec does not say anything about fields annotated with @Reference. A statement similar to the above statement should be added to clarify if the behavior is the same for @Property and @Reference or not.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira