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

rombert pushed a commit to annotated tag org.apache.sling.jcr.webdav-2.3.0
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-webdav.git

commit e383a0ef87f6bd9533a1ef549a9b5f9dca49ff57
Author: Carsten Ziegeler <cziege...@apache.org>
AuthorDate: Thu Jul 30 15:30:24 2015 +0000

    SLING-4919 : Require configuration for webdav related services
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/webdav@1693440 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
 
b/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
index 72c45bc..c031a98 100644
--- 
a/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
+++ 
b/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
@@ -27,6 +27,7 @@ import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
 import org.apache.felix.scr.annotations.Properties;
 import org.apache.felix.scr.annotations.Property;
 import org.apache.felix.scr.annotations.Reference;
@@ -64,7 +65,8 @@ import org.osgi.service.http.NamespaceException;
  */
 @Component(name = 
"org.apache.sling.jcr.webdav.impl.servlets.SimpleWebDavServlet",
            label = "%dav.name", description = "%dav.description",
-           metatype = true, immediate = true)
+           metatype = true,
+           policy = ConfigurationPolicy.REQUIRE)
 @Service(Servlet.class)
 @Properties({
     @Property(name = Constants.SERVICE_DESCRIPTION, value = "Sling WebDAV 
Servlet"),

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Reply via email to