Package org.apache.synapse.startup.tasks
Class TemplateMessageExecutor
- java.lang.Object
-
- org.apache.synapse.startup.tasks.TemplateMessageExecutor
-
- All Implemented Interfaces:
ManagedLifecycle,org.apache.synapse.task.Task
public class TemplateMessageExecutor extends Object implements org.apache.synapse.task.Task, ManagedLifecycle
-
-
Constructor Summary
Constructors Constructor Description TemplateMessageExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()This method should implement the destroying of the implemented parts of the configuration.voidexecute()StringgetTemplateKey()org.apache.axiom.om.OMElementgetTemplateParams()voidinit(SynapseEnvironment se)This method should implement the initialization of the implemented parts of the configuration.voidsetTemplateKey(String templateKey)voidsetTemplateParams(org.apache.axiom.om.OMElement templateParams)
-
-
-
Method Detail
-
init
public void init(SynapseEnvironment se)
Description copied from interface:ManagedLifecycleThis method should implement the initialization of the implemented parts of the configuration.- Specified by:
initin interfaceManagedLifecycle- Parameters:
se- SynapseEnvironment to be used for initialization
-
destroy
public void destroy()
Description copied from interface:ManagedLifecycleThis method should implement the destroying of the implemented parts of the configuration.- Specified by:
destroyin interfaceManagedLifecycle
-
execute
public void execute()
- Specified by:
executein interfaceorg.apache.synapse.task.Task
-
getTemplateKey
public String getTemplateKey()
-
setTemplateKey
public void setTemplateKey(String templateKey)
-
getTemplateParams
public org.apache.axiom.om.OMElement getTemplateParams()
-
setTemplateParams
public void setTemplateParams(org.apache.axiom.om.OMElement templateParams)
-
-