Author: [email protected]
Date: Fri Oct 7 09:51:04 2011
New Revision: 1451
Log:
[AMDATUOPENSOCIAL-38] Improved javadoc
Modified:
trunk/amdatu-opensocial/opensocial-shindig/src/main/java/org/amdatu/opensocial/shindig/service/TenantHostnameDispatchExtenderFilter.java
Modified:
trunk/amdatu-opensocial/opensocial-shindig/src/main/java/org/amdatu/opensocial/shindig/service/TenantHostnameDispatchExtenderFilter.java
==============================================================================
---
trunk/amdatu-opensocial/opensocial-shindig/src/main/java/org/amdatu/opensocial/shindig/service/TenantHostnameDispatchExtenderFilter.java
(original)
+++
trunk/amdatu-opensocial/opensocial-shindig/src/main/java/org/amdatu/opensocial/shindig/service/TenantHostnameDispatchExtenderFilter.java
Fri Oct 7 09:51:04 2011
@@ -34,8 +34,9 @@
/**
* This tenant dispatch extender filter is registered on .* and captures all
HTTP requests to resolve the
* tenant from the hostname of the request. It stores the tenant for the
lifetime of that request on a
- * ThreadLocal so that the PersonServiceImpl can retrieve the tenant from this
ThreadLocal. Note that
- * the CassandraAppDataServiceStore is not tenant aware, nor does it have
access to the HTTP request.
+ * ThreadLocal so that Shindig can retrieve the tenant from this ThreadLocal.
Note that Shindig services
+ * are not tenant aware (and can not be made multi-tenant, as they are
injected by Guice), therefore this
+ * ThreadLocal approach is necessary.
*
* @author ivol
*/
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits