Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3396

Warning displayed when Property used in private fields

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            lresende Luciano Resende
            lresende Luciano Resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: