axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith chapman <>
Subject Re: invoking a method while undeploying? (like finalize of Object)
Date Sun, 03 May 2009 11:15:27 GMT
Have you lookes at ServiceLifeCycle support in Axis2? Please refer [1] for a
tutorial on what it is how to use it.



On Wed, Apr 29, 2009 at 6:58 PM, Martin Fernau <> wrote:

> Dear all Axis developers,
> If axis is on the way to undeply a service, is it possible to let axis
> invoke
> a method on this Service?
> Something like implementing a pre defined interface from axis2 (maybe
> "WebService") which defines one method (maybe "undeploying()" ) which will
> be
> called from axis if this webservice is going to be undeployed. In this way
> the
> developer has a chance to do several things (cleanup and so on) just before
> this service is undeployed. Think on this like the finalize-Method of
> Object.
> Regards,
> Martin Fernau

Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.


View raw message