incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1528829 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
Date Thu, 03 Oct 2013 12:41:08 GMT
Author: bdelacretaz
Date: Thu Oct  3 12:41:07 2013
New Revision: 1528829

URL: http://svn.apache.org/r1528829
Log:
Add performance note to the OptingServlet's javadoc

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java?rev=1528829&r1=1528828&r2=1528829&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
Thu Oct  3 12:41:07 2013
@@ -29,6 +29,11 @@ import aQute.bnd.annotation.ConsumerType
  * <code>Servlets</code> used by Sling which may choose to not handle all
  * requests for which they would be selected based on their registration
  * properties.
+ *
+ * Note that servlets implementing this interface can have an impact
+ * on system performance, as their resolution cannot be cached: the 
+ * resolver has no insight into which parts of the request cause
+ * {@link #accepts} to return true.
  */
 @ConsumerType
 public interface OptingServlet extends Servlet {



Mime
View raw message