Hi devs,

Looks like there is an inconsistent API change in CarbonContext. Recently
CarbonContext.getThreadLocalCarbonContext() method was introduced to get
the CarbonContext object from the running thread. Now every thread in the
system should have an associated CarbonContext object. This is the correct
behaviour.  But the method name is inconsistent with the existing API.

CarbonContext.getCurrentContext() method still has old implementation. Due
to consistency reasons we are getting rid of
the getThreadLocalCarbonContext() method and refactor the code base to use
getCurrentContext method.

Thanks,
Sameera.

-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to