Hi Kasun,

Can I load the tenantConfiguation from the web app using above mentioned
approach ?

Thanks,
Madhawa

On Thu, Aug 6, 2015 at 1:59 PM, Madhawa Gunasekara <[email protected]>
wrote:

> Hi Kasun,
>
> Thanks for the quick reply, will try it.
>
> Regards,
> Madhawa
>
> On Thu, Aug 6, 2015 at 1:52 PM, KasunG Gajasinghe <[email protected]> wrote:
>
>> Hi Madhawa,
>>
>> When you call TenantAxisUtils#getTenantConfigurationContext, it will load
>> the tenant if it's not loaded already. You can get the tenant
>> AxisConfiguration from the tenant ConfigurationContext.
>>
>> On Thu, Aug 6, 2015 at 12:35 PM, Madhawa Gunasekara <[email protected]>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I have requirement to support multi-tenancy for a particular service
>>> type (OData). tenant users can expose their datasources as OData service.
>>> We handle REST ODATA requests using simple servlet. In this servlet we find
>>> particular service handler for the each service and we process them. DBS
>>> should be deployed to find the handlers. therefore the tenant axis configs
>>> should be loaded.
>>>
>>> Normally tenant axis configs are load lazily. Therefore tenant axis
>>> configs were load when a tenant request invoked.  the problem is we are
>>> n't  using /services/t/test.com/fddf/ url type for the service. we use
>>> /odataservices/t/test.com/fddf/ therefore It doesn't load the tenant
>>> axis configuration for these OData services.
>>>
>>> How can we load the tenant axis configurations manually ?
>>>
>>> Any help on this matter is highly appreciated.
>>>
>>> Thanks,
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002 <+94+719411002>
>>> blog: *http://madhawa-gunasekara.blogspot.com
>>> <http://madhawa-gunasekara.blogspot.com>*
>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>> <http://lk.linkedin.com/in/mgunasekara>*
>>>
>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> <http://madhawa-gunasekara.blogspot.com>*
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> <http://lk.linkedin.com/in/mgunasekara>*
>



-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
<http://madhawa-gunasekara.blogspot.com>*
linkedin: *http://lk.linkedin.com/in/mgunasekara
<http://lk.linkedin.com/in/mgunasekara>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to