+1 for init() and shutdown()..

However...Chathura, could you please explain what type of information that you would want to share among the various instances of a mediator.. just to sanity check your requirement and what you want to achieve

asankha

Sanjiva Weerawarana wrote:
+1, except for the name closedown() .. how about init() and shutdown()?

Sanjiva.

On Tue, 2006-11-07 at 08:42 +0530, Ruwan Linton wrote:
  
+1

I think we need both init() and closedown() methods declared in the
mediator interface.....

Ruwan

On 11/6/06, Paul Fremantle <[EMAIL PROTECTED]> wrote:
        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]
        

    


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



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

Reply via email to