You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/12/18 00:30:20 UTC
[jira] Resolved: (TUSCANY-3396) Warning displayed when Property
used in private fields
[ https://issues.apache.org/jira/browse/TUSCANY-3396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TUSCANY-3396.
--------------------------------------
Resolution: Fixed
Fixed. Removed the warning when annotations were available in private fields.
> Warning displayed when Property used in private fields
> ------------------------------------------------------
>
> Key: TUSCANY-3396
> URL: https://issues.apache.org/jira/browse/TUSCANY-3396
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime, OASIS Compliance - TUSCANY
> Affects Versions: Java-SCA-2.0
> Reporter: Luciano Resende
> Assignee: Luciano Resende
> Fix For: Java-SCA-2.0
>
>
> Posted on the user list from keinmensch
> Exploring property injection on SCA components, I find that when I
> annotate an instance field in a class like this:
> @Property(name="fileContents", required=false)
> private String mFileContents;
> There is a warning in the log when starting the SCA node:
> WARNING: Invalid annotation
> @org.oasisopen.sca.annotation.Property(name=fileContents,
> required=false) is found on private java.lang.String
> com.ivan.components.impl.PropertyPrinterServiceImpl.mFileContents
> More details on the following thread :
> http://www.mail-archive.com/user@tuscany.apache.org/msg02054.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.