Senaka, I think the question is, is there some rationale behind not giving the tenant a local registry instance. Did we conclude that it does not make sense for a tenant to have a local registry. Can you remember anything related to this?
On Thu, May 31, 2012 at 1:50 PM, Senaka Fernando <[email protected]> wrote: > Hi Supun, > > CarbonContext will not just give you what you want. Somebody needs to > first populate that with what it can return back. Now you can go have a > look on who populates these fields, and you should be able to find the > cause for this being null. > > Thanks, > Senaka. > > > On Thu, May 31, 2012 at 12:03 PM, Supun Malinga <[email protected]> wrote: > >> Hi Senaka, >> >> Any idea on this? >> I do get valid objects when I query for config reg., gov. reg. in same >> method. >> eg:* >> *SuperTenantCarbonContext.getCurrentContext(axisConfig).getRegistry(RegistryType.USER_GOVERNANCE) >> works fine. >> >> thanks, >> >> On Thu, May 31, 2012 at 8:55 AM, Supun Malinga <[email protected]> wrote: >> >>> Hi devs, >>> >>> How to do $subject using axisConfig. ? >>> I tried, >>> * >>> SuperTenantCarbonContext.getCurrentContext(axisConfig).getRegistry(RegistryType.LOCAL_REPOSITORY) >>> * >>> but this always return null for tenants other than super tenant. >>> >>> Whats the correct and accurate way to handle this.? >>> >>> thanks, >>> -- >>> Supun Malinga, >>> >>> Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> email - [email protected] <[email protected]> >>> mobile - 071 56 91 321 >>> >>> >> >> >> -- >> Supun Malinga, >> >> Software Engineer, >> WSO2 Inc. >> http://wso2.com >> http://wso2.org >> email - [email protected] <[email protected]> >> mobile - 071 56 91 321 >> >> > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *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*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
