Skip navigation links

Apache Sling 9 API

Apache Sling ™ is an innovative web framework that is intended to bring back the fun to web development.

See: Description

Packages 
Package Description
org.apache.sling.adapter  
org.apache.sling.adapter.annotations  
org.apache.sling.api  
org.apache.sling.api.adapter  
org.apache.sling.api.auth  
org.apache.sling.api.request  
org.apache.sling.api.resource  
org.apache.sling.api.resource.observation  
org.apache.sling.api.resource.path  
org.apache.sling.api.resource.runtime  
org.apache.sling.api.resource.runtime.dto  
org.apache.sling.api.scripting  
org.apache.sling.api.security  
org.apache.sling.api.servlets  
org.apache.sling.api.wrappers  
org.apache.sling.auth.core
Provides the authentication helper service as well as a number of utility functions in the AuthUtil class.
org.apache.sling.auth.core.spi
Provides API to be implemented by provides of authentication mechanisms.
org.apache.sling.auth.form  
org.apache.sling.caconfig
API for accessing context-aware configuration.
org.apache.sling.caconfig.annotation
Annotations for context-aware configurations.
org.apache.sling.caconfig.management
Management API of the Context-Aware configuration implementation.
org.apache.sling.caconfig.management.multiplexer
Multiplexer services provide aggregated access to all implementations of the related SPI interface.
org.apache.sling.caconfig.resource
API for accessing context-aware configuration resources.
org.apache.sling.caconfig.resource.spi
SPI for applications hooking into the configuration resource infrastructure for parameterizing and customizing.
org.apache.sling.caconfig.spi
SPI for applications hooking into the configuration infrastructure for parameterizing and customizing.
org.apache.sling.caconfig.spi.metadata
Defining configuration and parameter metadata for the SPI.
org.apache.sling.commons.classloader  
org.apache.sling.commons.compiler  
org.apache.sling.commons.fsclassloader  
org.apache.sling.commons.log.logback
Provides configuration support for the Logback based logging in Sling
org.apache.sling.commons.log.logback.webconsole
Provides configuration support for the Logback based logging in Sling
org.apache.sling.commons.metrics
Provides an API to generate and collect metrics in various forms
org.apache.sling.commons.mime
Provides the MimeTypeService service used by client to resolve MIME type information as well as the MimeTypeProvider service interface for providers to extend the MIME type setup provided by the MimeTypeService.
org.apache.sling.commons.osgi  
org.apache.sling.commons.osgi.bundleversion  
org.apache.sling.commons.scheduler  
org.apache.sling.commons.threads  
org.apache.sling.commons.threads.jmx  
org.apache.sling.discovery
Provides a service to interface which may be implemented by applications to get notified on cluster topology changes.
org.apache.sling.discovery.base.commons
Provides some common classes for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.base.connectors
Provides topology connector related classes for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.base.connectors.announcement
Provides topology announcement implementations for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.base.connectors.ping
Provides topology connector implementations for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.base.connectors.ping.wl
Provides whitelist-related classes for discovery implementors that choose to extend from discovery.base
org.apache.sling.discovery.commons
Provides commons utility for users for the Discovery API.
org.apache.sling.discovery.commons.providers
Provides commons utility for providers of the Discovery API.
org.apache.sling.discovery.commons.providers.base
Provides commons implementations for providers of the Discovery API.
org.apache.sling.discovery.commons.providers.spi
Provides an SPI for providers, used by discovery.commons.providers.impl
org.apache.sling.discovery.commons.providers.spi.base
Provides default SPI-implementations used by discovery.commons.providers.impl
org.apache.sling.discovery.commons.providers.util
Provides some static helpers for providers of the Discovery API.
org.apache.sling.discovery.oak  
org.apache.sling.discovery.oak.cluster  
org.apache.sling.discovery.oak.pinger  
org.apache.sling.engine  
org.apache.sling.engine.auth
Provides the original authentication handler service API initially bundled with the Sling Engine bundle.
org.apache.sling.engine.jmx  
org.apache.sling.engine.servlets  
org.apache.sling.event.dea  
org.apache.sling.event.jobs  
org.apache.sling.event.jobs.consumer  
org.apache.sling.event.jobs.jmx  
org.apache.sling.hc.api  
org.apache.sling.hc.api.execution  
org.apache.sling.hc.util  
org.apache.sling.i18n  
org.apache.sling.installer.api  
org.apache.sling.installer.api.event  
org.apache.sling.installer.api.info  
org.apache.sling.installer.api.jmx  
org.apache.sling.installer.api.tasks  
org.apache.sling.installer.factories.configuration  
org.apache.sling.jackrabbit.usermanager  
org.apache.sling.jcr.api  
org.apache.sling.jcr.base
The org.apache.sling.jcr.base package provides basic support to expose JCR repositories in Sling.
org.apache.sling.jcr.base.util  
org.apache.sling.jcr.contentloader  
org.apache.sling.jcr.jackrabbit.accessmanager  
org.apache.sling.jcr.jackrabbit.accessmanager.post  
org.apache.sling.jcr.registration
The org.apache.sling.jcr.registration package exports the AbstractRegistrationSupport class which may be extended by service exposing JCR Repository services in any one non-OSGi registry such as RMI or JNDI.
org.apache.sling.jcr.repoinit
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.jcr.resource.api  
org.apache.sling.launchpad.app  
org.apache.sling.launchpad.base.app  
org.apache.sling.launchpad.base.shared  
org.apache.sling.launchpad.base.webapp  
org.apache.sling.launchpad.webapp  
org.apache.sling.models.annotations  
org.apache.sling.models.annotations.injectorspecific  
org.apache.sling.models.annotations.via  
org.apache.sling.models.export.spi  
org.apache.sling.models.factory  
org.apache.sling.models.jacksonexporter  
org.apache.sling.models.spi  
org.apache.sling.models.spi.injectorspecific  
org.apache.sling.provisioning.model  
org.apache.sling.provisioning.model.io  
org.apache.sling.repoinit.parser
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.repoinit.parser.operations
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.sample.slingshot  
org.apache.sling.sample.slingshot.comments  
org.apache.sling.sample.slingshot.model  
org.apache.sling.sample.slingshot.ratings  
org.apache.sling.scripting.api
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.api.resource
The org.apache.sling.scripting.api.resource package provides a unified API for scripting bundles that need to perform script resolution across the Resource space.
org.apache.sling.scripting.core  
org.apache.sling.scripting.core.servlet  
org.apache.sling.scripting.javascript  
org.apache.sling.scripting.javascript.helper  
org.apache.sling.scripting.javascript.io  
org.apache.sling.scripting.javascript.wrapper  
org.apache.sling.scripting.sightly
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.compiler
The org.apache.sling.scripting.sightly.compiler package defines the API exposed by the SightlyCompiler.
org.apache.sling.scripting.sightly.compiler.backend
The org.apache.sling.scripting.sightly.compiler.backend defines the API that can be used by HTL Backend Compilers, used to compile HTL Commands into executable code for other languages.
org.apache.sling.scripting.sightly.compiler.commands
The org.apache.sling.scripting.sightly.compiler.commands package defines the API for Command processing.
org.apache.sling.scripting.sightly.compiler.expression
The org.apache.sling.scripting.sightly.compiler.expression package defines the API for Expression processing.
org.apache.sling.scripting.sightly.compiler.expression.nodes
The org.apache.sling.scripting.sightly.compiler.expression.nodes package exposes the various ExpressionNode types.
org.apache.sling.scripting.sightly.compiler.util
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.engine
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.extension
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.java.compiler
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.pojo
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.render
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.scripting.sightly.use
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.sling.serviceusermapping  
org.apache.sling.servlets.post  
org.apache.sling.servlets.resolver.jmx  
org.apache.sling.settings  
org.apache.sling.spi.resource.provider  
org.apache.sling.validation  
org.apache.sling.validation.model  
org.apache.sling.validation.model.spi  
org.apache.sling.validation.spi  
org.apache.sling.validation.spi.support  
org.apache.sling.xss
XSS Protection Service

Apache Sling ™ is an innovative web framework that is intended to bring back the fun to web development.

Apache Sling in five bullets points

Apache Sling in a hundred words

Apache Sling is a web framework that uses a Java Content Repository, such as Apache Jackrabbit, to store and manage content.

Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way.

The embedded Apache Felix OSGi framework and console provide a dynamic runtime environment, where code and content bundles can be loaded, unloaded and reconfigured at runtime.

As the first web framework dedicated to JSR-170 Java Content Repositories, Sling makes it very simple to implement simple applications, while providing an enterprise-level framework for more complex applications.

JavaDoc generation

This documentation has been created using the generate_javadoc_for_release.sh script.

Skip navigation links

Copyright © 2017 The Apache Software Foundation. All rights reserved.