4.4.2. Instantiation

org.exoplatform.services.script.groovy.GroovyScriptInstantiator is part of project exo.core.component.script.groovy. GroovyScriptInstantiator can load script from specified URL and parse stream that contains Groovy source code. It has possibility inject component from Container in Groovy Class constructor. Configuration example:


<component>
  <type>org.exoplatform.services.script.groovy.GroovyScriptInstantiator</type>
</component>
Copyright ©2012. All rights reserved. eXo Platform SAS