Yes , it will :)

But you need to implement an interface called
org.apache.axis2.engine.ServiceLifeCycle and specify the name in
services.xml.Once you have that in your services.xml that interface impl
will be informed when the system start up time and shutdown time.

You can specify the service life cycle impl as shown below;

<service name="SampleService3"
class="org.apachecon.us.sample.ServiceLifeCycleImpl">
    <description>
        This is sample service 3
    </description>
</service>

P.S - This will be only available in nightly build and Axis2 1.1

> Hi,
> i would like to know, when the Container like Tomcat is shutdown,
> could the concrete service of axis2 be informed? With this man can close
> the critical resources.
> Otherwise the data in memory will lost. (for performance, a cache is
> normal).
>
> Thanks for every Tips!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to