title: Grails: Dynamically inject service in domain class
body: <p>I need to inject a service based on domain property, so far I came up with the following:</p>
  
  <pre><code>ApplicationHolder.application.getServiceClass("package.${property}Service").clazz
  </code></pre>
  
  <p>but loading it this way doesn't inject it's dependent services. Am I doing it wrong? </p>