synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameera Jayasoma <sameera.madus...@gmail.com>
Subject Behaviour of a Synapse Task which implements the ManagedLifeCycle interface
Date Thu, 04 Nov 2010 16:40:43 GMT
Hi devs,

Say I have a Synapse task which implements the ManagedLifeCycle interface.

Public class TestTask implements Task, ManagedLifeCyle {
  public void init(SynapseEnvironment se){
  }
  public void execute() {
  }
}

Synapse triggers the task as specified in the synapse.xml.  This init()
method is always invoked when the task is triggered. Is this the expected
behaviour?

Thanks
Sameera
-- 
Sameera Jayasoma
Technical Lead
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org

Mime
View raw message