You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ch...@apache.org on 2013/11/11 05:47:34 UTC

svn commit: r1540609 - /felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext

Author: chetanm
Date: Mon Nov 11 04:47:33 2013
New Revision: 1540609

URL: http://svn.apache.org/r1540609
Log:
FELIX-3226 - Whiteboard servlet service registered with default HttpContext if registered before HttpContext service

Document the usage of `context.shared` service property which enables sharing of context across bundles

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext?rev=1540609&r1=1540608&r2=1540609&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-http-service.mdtext Mon Nov 11 04:47:33 2013
@@ -262,7 +262,10 @@ Filter service properties:
 HttpContext service properties:
 
 * `contextId` - Id of context to be referenced by a servlet or filter service.
-
+* `context.shared` - Boolean property. If the `HttpContext` needs to be shared across bundles
+  then it should be set to `true`. Shared `HttpContext` services should  either not implement the
+  `getResource` at all or be registered  as service factories to ensure no access to foreign bundle
+  resources is not allowed through this backdoor.
 
 ## Using the Servlet Bridge