justinedelson commented on a change in pull request #1: SLING-5668 - Leverage 
ServletRequestListener.requestDestroyed for cal?
URL: 
https://github.com/apache/sling-org-apache-sling-models-impl/pull/1#discussion_r155643426
 
 

 ##########
 File path: src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java
 ##########
 @@ -1046,11 +1075,22 @@ protected ThreadInvocationCounter initialValue() {
 
         this.configPrinterRegistration = 
bundleContext.registerService(Object.class.getName(),
                 new ModelConfigurationPrinter(this, bundleContext, 
adapterImplementations), printerProps);
+
+        Hashtable<Object, Object> listenerProps = new Hashtable<>();
+        listenerProps.put("osgi.http.whiteboard.context.select", 
"(osgi.http.whiteboard.context.name=*)");
 
 Review comment:
   Not without bumping the dependency. But maybe that should be done anyway 
since (as far as I know), this functionality will effectively depend upon a 6.0 
HttpService implementation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to