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
             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/[email protected]/msg02054.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to