com.icfolson.aem.groovy.console.extension.ExtensionService.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-groovy-console Show documentation
Show all versions of aem-groovy-console Show documentation
The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be
created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the AEM, Sling,
or JCR APIs.
package com.icfolson.aem.groovy.console.extension
import com.icfolson.aem.groovy.console.api.BindingExtensionProvider
import com.icfolson.aem.groovy.console.api.StarImportExtensionProvider
import org.apache.sling.api.SlingHttpServletRequest
/**
* Service that dynamically binds extensions providing additional script bindings, star imports, and script metaclasses.
*/
interface ExtensionService extends BindingExtensionProvider, StarImportExtensionProvider {
/**
* Get a list of all script metaclass closures for bound extensions.
*
* @param request current request
* @return list of metaclass closures
*/
List getScriptMetaClasses(SlingHttpServletRequest request)
}