Hi All, In CarbonContextHolder there are 2 methods.
1. public static CarbonContextHolder getCurrentCarbonContextHolder() 2. public static CarbonContextHolder getThreadLocalCarbonContextHolder() The getCurrentCarbonContextHolder() method first check whether a CarbonContextHolder exists in session if not it calls getThreadLocalCarbonContextHolder() to create new object. I have seen people getting confused over above 2 methods. Is it possible to make getThreadLocalCarbonContextHolder() private and only expose getCurrentCarbonContextHolder() ? Thus if someone use getThreadLocalCarbonContextHolder() he/she needs to set tenant id, tenant domain manually. Thanks AmilaJ -- Mobile : +94773330538 _______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
