Griffon
  1. Griffon
  2. GRIFFON-416

Allow services to be injected into other services

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.3
    • Fix Version/s: 0.9.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It would be great if the simple DI mechanism allowed services to be injected into other services, like this

      class FooService {
          def barService
          def doSomething() {
              barService.doit()
          }
      }
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: