[
https://issues.apache.org/jira/browse/TUSCANY-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463417
]
Yang Lei commented on TUSCANY-913:
----------------------------------
I declared a reference as required=true. I assume it means whoever is defining
a component has to override the reference by wiring it to some other value.
However, I can still define a component w/o wiring the reference when I define
component
> no validation on @Reference(required=true)
> ------------------------------------------
>
> Key: TUSCANY-913
> URL: https://issues.apache.org/jira/browse/TUSCANY-913
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA POJO Container
> Affects Versions: Java-M2
> Environment: windows xp
> Reporter: Yang Lei
>
> @Reference(required=true) or by default @Reference
> I can define a component without giving reference. The code still works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]