Hi Azeez,

Can we delegate the thread creation to a CarbonThreadFactory or a similar
approach?. This way we can take control on this in one place...?
WDYT?

thanks,


On Thu, Jul 4, 2013 at 11:39 AM, Afkham Azeez <[email protected]> wrote:

> Folks,
> In order to be able to track who is doing what, and to make it possible
> for all components to assume that tenant information will be available in a
> ThreadLocal variable, we should always associate tenant ID &  domain with
> every thread in the system. This can be done using the CarbonContext APIs.
>
> Azeez
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to