Thanks, Paul. Implement it in what? I think this is for listeners that can be defined in web.xml, but how do I get hold of the global parameters defined in the WSDD file? Does Axis provide a reference, to that information, in the servlet context?

Tony


"Paul Callahan" <[EMAIL PROTECTED]>

19-Nov-2004 21:09

       



You can implement the following interface that will be called when the
context containing Axis is loaded:

javax.servlet.ServletContextListener


On Fri, 19 Nov 2004 12:30:01 +0000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>  
> Is there a way to run some initialisation code once, when Axis starts. I
> realise that I could include another servlet, in the application, purely for
> initialisation, or perhaps run some static code in a handler class, but I'd
> like to be able to get at options defined in the WSDD configuration, without
> having to duplicate them.
>  
> One way would be to define a global handler and have logic to only run the
> initialisation code once. But this means that the handler will still get
> called, even if it doesn't do anything. Is there an architected was to do
> initialisation in Axis?
>  
> Tony


Reply via email to