We do not require cloning of the org.apache.axis2.modules.Module
implementation. Only need to clone, org.apache.axis2.description.AxisModule

Azeez

On Sun, Dec 20, 2009 at 4:24 PM, Afkham Azeez <az...@wso2.com> wrote:

> Should the cloning logic be module specific? Won't it suffice if we
> implement cloning in the AxisModule class alone?
>
> Azeez
>
>
> On Sun, Dec 20, 2009 at 4:20 PM, Ruwan Linton <ru...@wso2.com> wrote:
>
>> I don't think we can clone axis2 modules that easily, if we are to do so
>> we need to write the logic in cloning a module and we might not be able
>> to do cloning unless the modules has been written in a clonable manner.
>> :-(
>>
>> Thanks,
>> Ruwan
>>
>> Afkham Azeez wrote:
>> > That is possible, but inefficient. If there a x number of modules, and
>> > there are n number of tenants, (n+1)*x number of times the module.xml
>> > file will have to be parsed and the AxisModule needs to be built. If
>> > we can clone it, once we have crated an AxisModule instance, it will
>> > be much more efficient.
>> >
>> > Azeez
>> >
>> > On Sun, Dec 20, 2009 at 3:14 PM, Senaka Fernando <sen...@wso2.com
>> > <mailto:sen...@wso2.com>> wrote:
>> >
>> >     Azeez,
>> >
>> >     Can't we initialize multiple instances of the same module? I
>> >     believe that this is possible.
>> >
>> >     Thanks,
>> >     Senaka.
>> >
>> >     On Sun, Dec 20, 2009 at 2:56 PM, Afkham Azeez <az...@wso2.com
>> >     <mailto:az...@wso2.com>> wrote:
>> >
>> >         Hi folks,
>> >         Has anybody done $subject? For the multitenant admin console
>> >         funtionality, I need to clone some of the modules (cahing,
>> >         throttling, tracer etc) and add them to the tenant
>> >         AxisConfigurations.
>> >
>> >         --
>> >         --
>> >         Afkham Azeez
>> >         az...@wso2.com <mailto:az...@wso2.com>
>> >         WSO2 Inc. http://wso2.com
>> >         Blog: http://afkham.org
>> >
>> >         _______________________________________________
>> >         Carbon-dev mailing list
>> >         Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
>> >         https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>> >
>> >
>> >     --
>> >     Senaka Fernando
>> >     Software Engineer
>> >     WSO2 Inc.
>> >     E-mail: sen...@wso2.com <mailto:sen...@wso2.com>;  Mobile: +94 77
>> >     322 1818
>> >
>> >
>> >     http://www.wso2.com/ - "The Open Source SOA Company"
>> >
>> >     _______________________________________________
>> >     Carbon-dev mailing list
>> >     Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
>> >     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>> >
>> >
>> > --
>> > --
>> > Afkham Azeez
>> > az...@wso2.com <mailto:az...@wso2.com>
>> > WSO2 Inc. http://wso2.com
>> > Blog: http://afkham.org
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Carbon-dev mailing list
>> > Carbon-dev@wso2.org
>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>>
>>
>> --
>> Ruwan Linton
>> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>> WSO2 <http://wso2.org/esbWSO2> Inc.; http://wso2.org
>> email: ru...@wso2.com; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> --
>
> Afkham Azeez
> az...@wso2.com
> WSO2 Inc. http://wso2.com
> Blog: http://afkham.org
>



-- 
--
Afkham Azeez
az...@wso2.com
WSO2 Inc. http://wso2.com
Blog: http://afkham.org
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to