You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2020/03/13 07:29:20 UTC

[sling-org-apache-sling-servlets-annotations] 02/02: enrich javadoc

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/paths-strict-metaannotation
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-annotations.git

commit aa285aee6b6463445e2c98e703d04c5dd48fbd19
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Mar 13 08:27:53 2020 +0100

    enrich javadoc
---
 .../java/org/apache/sling/servlets/annotations/SlingServletPaths.java | 1 +
 .../apache/sling/servlets/annotations/SlingServletPathsStrict.java    | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/servlets/annotations/SlingServletPaths.java b/src/main/java/org/apache/sling/servlets/annotations/SlingServletPaths.java
index 5e25134..effe315 100644
--- a/src/main/java/org/apache/sling/servlets/annotations/SlingServletPaths.java
+++ b/src/main/java/org/apache/sling/servlets/annotations/SlingServletPaths.java
@@ -29,6 +29,7 @@ import org.osgi.service.component.annotations.ComponentPropertyType;
  * @see <a href="https://sling.apache.org/documentation/the-sling-engine/servlets.html">Sling Servlets</a>
  * @see ServletResolverConstants
  * @see <a href="https://github.com/apache/felix/blob/trunk/tools/org.apache.felix.scr.annotations/src/main/java/org/apache/felix/scr/annotations/sling/SlingServlet.java">Felix SCR annotation</a>
+ * @see SlingServletPathsStrict
  */
 @ComponentPropertyType
 public @interface SlingServletPaths {
diff --git a/src/main/java/org/apache/sling/servlets/annotations/SlingServletPathsStrict.java b/src/main/java/org/apache/sling/servlets/annotations/SlingServletPathsStrict.java
index be4a968..c9c0f43 100644
--- a/src/main/java/org/apache/sling/servlets/annotations/SlingServletPathsStrict.java
+++ b/src/main/java/org/apache/sling/servlets/annotations/SlingServletPathsStrict.java
@@ -23,7 +23,8 @@ import org.osgi.service.component.annotations.ComponentPropertyType;
  * Component Property Type (as defined by OSGi DS 1.4) for Sling Servlets.
  * 
  * Takes care of writing the relevant service properties as being used by the Sling Servlet Resolver ({@link ServletResolverConstants})
- * to register the annotated servlet component as Sling servlet for a specific path, using the SLING-8110 strict mode which
+ * to register the annotated servlet component as Sling servlet for a specific path, using the strict mode 
+ * (defined in <a href="https://issues.apache.org/jira/browse/SLING-8110">SLING-8110</a>) which
  * optionally takes into account the request's extension, selectors and HTTP method.
  * 
  * Preferably register Sling servlets by resource type ({@link SlingServletResourceTypes}) though 
@@ -33,6 +34,7 @@ import org.osgi.service.component.annotations.ComponentPropertyType;
  * @see <a href="https://sling.apache.org/documentation/the-sling-engine/servlets.html">Sling Servlets</a>
  * @see ServletResolverConstants
  * @see <a href="https://github.com/apache/felix/blob/trunk/tools/org.apache.felix.scr.annotations/src/main/java/org/apache/felix/scr/annotations/sling/SlingServlet.java">Felix SCR annotation</a>
+ * @see SlingServletPaths
  */
 
 /** Using this requires the SLING-8110 strict mode */