Created
May 25, 2017 20:51
-
-
Save nateyolles/51988295d1555f719e2c4723c359d951 to your computer and use it in GitHub Desktop.
A sample AEM SlingServlet Felix SCR Annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SlingServlet( | |
metatype = true, | |
paths = { | |
"/bin/foo", | |
"/bin/bar" | |
}, | |
extensions = {"html"}, | |
selectors = {"foo"}, | |
resourceTypes = {"nt:file", "project/components/component"} | |
methods = "GET", | |
label = "Annotation Demo Servlet", | |
description = "Sample servlet using Felix SCR annotations" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment