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 void
destroy()
This method should implement the destroying of the implemented parts of the configuration.void
execute()
String
getTemplateKey()
org.apache.axiom.om.OMElement
getTemplateParams()
void
init(SynapseEnvironment se)
This method should implement the initialization of the implemented parts of the configuration.void
setTemplateKey(String templateKey)
void
setTemplateParams(org.apache.axiom.om.OMElement templateParams)
-
-
-
Method Detail
-
init
public void init(SynapseEnvironment se)
Description copied from interface:ManagedLifecycle
This method should implement the initialization of the implemented parts of the configuration.- Specified by:
init
in interfaceManagedLifecycle
- Parameters:
se
- SynapseEnvironment to be used for initialization
-
destroy
public void destroy()
Description copied from interface:ManagedLifecycle
This method should implement the destroying of the implemented parts of the configuration.- Specified by:
destroy
in interfaceManagedLifecycle
-
execute
public void execute()
- Specified by:
execute
in 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)
-
-