Adapters: Apache Sling API Bundle

[vc_row][vc_column width=”2/3″][vc_column_text el_class=”documentation”]The Apache Sling API Bundle includes the interfaces for Sling Adapters. Most of the services and Java interfaces that are needed to implement the Adapter design pattern are defined within this bundle.

Symbolic Name: org.apache.sling.api
Exported packages: org.apache.sling.api.adapter

Using Sling Adapter Interfaces with Maven

Add the following dependency, replacing {VERSION} with the version you wish to use.

<dependency>
     <groupId>org.apache.sling</groupId>
     <artifactId>org.apache.sling.api</artifactId>
     <version>{VERSION}</version>
</dependency>

Using Sling Adapter Interfaces as a Java Library

Place the org.apache.sling.api-{VERSION}.jar in the compile path, where {VERSION} is the version of the jar used.

Downloads

Older versions of the Adobe Sling API bundle may be downloaded from the Apache Nexus repository.

The latest version of the Adobe Sling API bundle may be downloaded from the Apache Sling Download page.

Exports

Public Interfaces (Sling Adapters Only)
org.apache.sling.api.adapter.AdapterManager
org.apache.sling.api.adapter.AdapterFactory
org.apache.sling.api.adapter.Adaptable
Public Abstract Classes (Sling Adapters Only)
org.apache.sling.adapter.SlingAdaptable

For More Information

Use AEM OSGi config Details to find which version is used with specific Adobe Experience Manager and Adobe CQ releases.[/vc_column_text][/vc_column][vc_column width=”1/3″][vc_widget_sidebar sidebar_id=”woocommerce”][/vc_column][/vc_row][vc_row][vc_column width=”1/2″][vc_column_text]Previous: Adapters Within Apache Sling[/vc_column_text][/vc_column][vc_column width=”1/2″][vc_column_text]

Next: Adaptable Interface

[/vc_column_text][/vc_column][/vc_row]

No Comments on "Adapters: Apache Sling API Bundle"

Leave a Comment

Your email address will not be published. Required fields are marked *