On Mon, Oct 4, 2010 at 8:57 PM, Senaka Fernando <sen...@wso2.com> wrote:

> Done. The methods to access the Registry on the CarbonContext have been
> refactored. All existing occurrences have been replaced. Please make a note
> of these changes when you make use of the CarbonContext in the future. The
> new way to access the Configuration System Registry on the CarbonContext
> would be:
>
> CarbonContext.getCurrentContext().getRegistry(
>         CarbonContext.RegistryType.SYSTEM_CONFIGURATION);
>
>
IMO we can make this API less wordy; why not have it as;
CarbonContext.getCurrentContext().getRegistry(RegistryType.SYSTEM_CONFIGURATION)


> Follow the same mechanism for other types of Registries.
>
> Thanks,
> Senaka.
>
>
> On Mon, Oct 4, 2010 at 4:32 PM, Senaka Fernando <sen...@wso2.com> wrote:
>
>> Hi all,
>>
>> Please note that there could be momentary build breaks on the trunk, until
>> I have completed refactoring the CarbonContext APIs. This should be complete
>> by EOD today.
>>
>> Thanks,
>> Senaka.
>>
>> --
>> Senaka Fernando
>> Associate Technical Lead
>> WSO2 Inc.
>> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>>
>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>
>
>
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **az...@wso2.com* <az...@wso2.com>* 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*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to