Author: fmeschbe
Date: Tue Jul 27 13:57:07 2010
New Revision: 979706

URL: http://svn.apache.org/viewvc?rev=979706&view=rev
Log:
SLING-1575 Do not declare the abstract component to register as a Servlet 
service and leave this to the implementation to be done.

Modified:
    
sling/trunk/bundles/commons/auth/src/main/java/org/apache/sling/commons/auth/spi/AbstractAuthenticationFormServlet.java

Modified: 
sling/trunk/bundles/commons/auth/src/main/java/org/apache/sling/commons/auth/spi/AbstractAuthenticationFormServlet.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/commons/auth/src/main/java/org/apache/sling/commons/auth/spi/AbstractAuthenticationFormServlet.java?rev=979706&r1=979705&r2=979706&view=diff
==============================================================================
--- 
sling/trunk/bundles/commons/auth/src/main/java/org/apache/sling/commons/auth/spi/AbstractAuthenticationFormServlet.java
 (original)
+++ 
sling/trunk/bundles/commons/auth/src/main/java/org/apache/sling/commons/auth/spi/AbstractAuthenticationFormServlet.java
 Tue Jul 27 13:57:07 2010
@@ -31,9 +31,12 @@ import javax.servlet.http.HttpServletRes
  * The <code>AbstractAuthenticationFormServlet</code> provides a basic
  * implementation of a simple servlet to render a login form for authentication
  * purposes.
+ * <p>
+ * Note, that this abstract base class does not declare itself as implementing
+ * a service. Implementations of this class must explicitly state so by means
+ * of an <code>&#64;scr.service</code> tag or <code>Service</code> annotation.
  *
  * @scr.component metatype="no" abstract="yes"
- * @scr.service interface="javax.servlet.Servlet"
  */
 @SuppressWarnings("serial")
 public abstract class AbstractAuthenticationFormServlet extends HttpServlet {


Reply via email to