sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1693441 - /sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
Date Thu, 30 Jul 2015 15:31:05 GMT
Author: cziegeler
Date: Thu Jul 30 15:31:04 2015
New Revision: 1693441

URL: http://svn.apache.org/r1693441
Log:
SLING-4919 : Require configuration for webdav related services

Modified:
    sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java

Modified: sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java?rev=1693441&r1=1693440&r2=1693441&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
(original)
+++ sling/trunk/bundles/jcr/davex/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
Thu Jul 30 15:31:04 2015
@@ -30,6 +30,7 @@ import javax.servlet.http.HttpServletReq
 
 import org.apache.felix.scr.annotations.Activate;
 import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
 import org.apache.felix.scr.annotations.Deactivate;
 import org.apache.felix.scr.annotations.Properties;
 import org.apache.felix.scr.annotations.Property;
@@ -54,7 +55,9 @@ import org.slf4j.LoggerFactory;
  *
  */
 @SuppressWarnings("serial")
-@Component(metatype = true, label = "%dav.name", description = "%dav.description")
+@Component(metatype = true, label = "%dav.name",
+           description = "%dav.description",
+           policy = ConfigurationPolicy.REQUIRE)
 @Properties({ @Property(name = Constants.SERVICE_DESCRIPTION, value = "Sling JcrRemoting
Servlet"),
     @Property(name = Constants.SERVICE_VENDOR, value = "The Apache Software Foundation")
})
 public class SlingDavExServlet extends JcrRemotingServlet {



Mime
View raw message