SLING-6309 - better job name for service disposal
authorJustin Edelson <justin@apache.org>
Sat, 19 Nov 2016 22:09:21 +0000 (22:09 +0000)
committerJustin Edelson <justin@apache.org>
Sat, 19 Nov 2016 22:09:21 +0000 (22:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1770519 13f79535-47bb-0310-9956-ffa450edef68

src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java

index d7de3f5..d8c26bb 100644 (file)
@@ -923,6 +923,7 @@ public class ModelAdapterFactory implements AdapterFactory, Runnable, ModelFacto
         Hashtable<Object, Object> properties = new Hashtable<Object, Object>();
         properties.put(Constants.SERVICE_VENDOR, "Apache Software Foundation");
         properties.put(Constants.SERVICE_DESCRIPTION, "Sling Models OSGi Service Disposal Job");
+        properties.put("scheduler.name", "Sling Models OSGi Service Disposal Job");
         properties.put("scheduler.concurrent", false);
         properties.put("scheduler.period", 30L);