Registry / dependency-injection / org-apache-sling-models-api

org-apache-sling-models-api

JSON →
library2.0.0javamavenunverified

Apache Sling Models API provides a framework for mapping Sling resources to Java model objects.

<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.models.api</artifactId> <version>2.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ORG-APACHE-SLING-M
O
org-apache-sling-models-api
dependency-injectionjavav2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Model
org.apache.sling.models.annotations.Model

Defines a Sling Model that adapts from a Resource.

import org.apache.sling.models.annotations.Model; import javax.inject.Inject; @Model(adaptables = org.apache.sling.api.resource.Resource.class) public class MyModel { @Inject private String title; public String getTitle() { return title; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
28
OpenAI (training)
1
Resources
org-apache-sling-models-api — mvn dependency:get org-apache-sling-models-api · libregistry