Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-169

Add something like @RooWithLog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MONITORING
    • Labels:
      None

      Description

      It would be nice to provide an annotation to add a log to any class using an ITD.

      E.g.

      @Entity
      @RooEntity
      @RooJavaBean
      @RooWithLog
      public class MyDomainClass {
      ...
      }

      Automatically an ITD will then be generated which would include something like:

      static log = Logger.getLogger(MyDomainClass)

      Similar like http://www.nofluffjuststuff.com/blog/robert_fischer/2009/07/the_withlog_annotation_and_groovy_asttransforms.html which is added to Groovy.

        Attachments

          Activity

            People

            Assignee:
            jcgarcia Juan Carlos GarcĂ­a del Canto
            Reporter:
            marceloverdijk Marcel Overdijk
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: