[Yanel-dev] Introducing init() and destroy() for Resource.class

Michael Wechner michael.wechner at wyona.com
Mon Dec 3 08:55:23 CET 2007


Josias Thöny wrote:

> Evaldas Taroza wrote:
>
>>  > I think we should introduce a init() and destroy() methods for the
>>  > Resource class, which would allow to initiate stuff once than per 
>> request.
>>
>> I agree. Now I am trying to integrate Axis2 into Yanel and it 
>> certainly needs one-time initialization/destruction. Currently I am 
>> thinking of creating a context listener to initialize Axis2 Web 
>> service repository and it looks like an ugly workaround.
>
>
> Maybe the axis repository could be wrapped in a spring bean?
> Resources can have their own spring config file, see e.g. the wiki 
> resource 
> (src/contributions/resources/wiki/src/build/spring-wiki-config.xml).


Are the spring configs being initialized during startup?

Cheers

Michi

>
> josias
>
>>
>> Evaldas
>> _______________________________________________
>> Yanel-development mailing list
>> Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list