Actually I was thinking about this the other day. We also need a
closedown if we add an init().

Paul

On 11/6/06, Chathura Ekanayake <[EMAIL PROTECTED]> wrote:

I am writing a new mediator and I want to access some variables from all
instances of that mediator.
So I think the best way is to instantiates and add those objects to the
ConfigurationContext at start up.

But AFAIK currently there is no method to initialize mediators. It would be
useful if we can have an "init" method in mediators
which will be called by Sysnapse at start up. And the ConfigurationContext
can be passed into this method, so that all
the initialization logic can be performed within it.

Please give your ideas about this...

Regards,
Chathura.



--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

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

Reply via email to