com.citytechinc.aem.groovy.console.extension.impl.DefaultStarImportExtensionProvider.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 (Adobe CQ) 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.citytechinc.aem.groovy.console.extension.impl
import com.citytechinc.aem.groovy.console.api.StarImportExtensionProvider
import org.apache.felix.scr.annotations.Component
import org.apache.felix.scr.annotations.Service
@Service(StarImportExtensionProvider)
@Component(immediate = true)
class DefaultStarImportExtensionProvider implements StarImportExtensionProvider {
private static final Set DEFAULT_STAR_IMPORTS = ["javax.jcr", "org.apache.sling.api",
"org.apache.sling.api.resource", "com.day.cq.search", "com.day.cq.tagging", "com.day.cq.wcm.api",
"com.day.cq.replication"] as Set
@Override
Set getStarImports() {
DEFAULT_STAR_IMPORTS
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy