All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.citytechinc.aem.groovy.console.extension.impl.DefaultStarImportExtensionProvider.groovy Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 8.1.0
Show newest version
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