After doing a little more research, I modified the constructor of my
custom inhandler class (that extends
org.apache.axis2.handlers.AbstractHandler) and see that it is
instantiated only once on startup.  I think that the constructor may be
a perfect place for me to do my one time setup, prior to processing
requests.  Does anyone out there do similar setup in the constructor of
one of thier AbstractHandler implementations?


Chris

 

From:
java-user-return-83340-meeusen.christopher=mayo....@axis.apache.org
[mailto:[email protected].
org] On Behalf Of Meeusen, Christopher W.
Sent: Friday, August 13, 2010 11:14 AM
To: [email protected]
Subject: customize wsaxis2 startup?

 

Hi,

 

I'm trying to find the proper way to customize the axis2 startup, to
instantiate a HSQLDB and insert some records from the .script file.  I
don't think an inflow handler would be the proper place because I don't
want to do this on every request just once when the webapp launches.  We
are running axis2-1.3.  Is there a facility in axis2 to run some one
time house cleaning on startup?

 

Thanks

 

Chris

Reply via email to