Hi Asankha ; Adding an observer is one way of getting access to Axis2 when it is initialized. But the actual task or the design principle of an Axis2 observer is bit different from what you are going to do. Its true that observer is initialized at the time if Axis2 initialized and at that point you can do Synapse related stuff.
In the long term perspective I think , it will be great if you do this with a module. As I remember when we were developing one of synapse prototype (I think second one) we had a module which dose all the synapse initialization logic. I know in the future you are going to have many more features and having an observer you can not correctly achieve all of them. So in the first phase just add a module w.o any handler , and dont forget to add Module impl class. just a suggestion from Axis2 point of view :) Paul Fremantle wrote: > Asankha > > The classloader is used by the Spring extension. > > I think it would be good to load Synapse on Axis2 start. > > Paul > > > > > On 5/10/06, * Asankha C. Perera* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Right now Synapse initializes itself on the receipt of the first > message.. If we write an Axis2 Interceptor and register this with > Axis2, > then we could initialize Synapse at the same time as Axis2. Is this > something we may want to implement? > > Also.. I was thinking about the reference to a classloader currently > held in the SynapseEnvironment.. which is not used right now.. can I > remove it safely or is it kept there for a reason? > > thanks > asankha > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > -- > Paul Fremantle > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair > > http://bloglines.com/blog/paulfremantle > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > "Oxygenating the Web Service Platform", www.wso2.com <http://www.wso2.com> -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
