Class GenericTask
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.common.InboundTask
-
- org.wso2.carbon.inbound.endpoint.protocol.generic.GenericTask
-
- All Implemented Interfaces:
org.apache.synapse.ManagedLifecycle,org.apache.synapse.task.Task,PinnedPollingTask
public class GenericTask extends InboundTask
-
-
Field Summary
-
Fields inherited from class org.wso2.carbon.inbound.endpoint.common.InboundTask
interval, TASK_THRESHOLD_INTERVAL
-
-
Constructor Summary
Constructors Constructor Description GenericTask(GenericPollingConsumer pollingConsumer, long interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()PropertiesgetInboundProperties()voidinit(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)protected voidtaskExecute()-
Methods inherited from class org.wso2.carbon.inbound.endpoint.common.InboundTask
execute
-
-
-
-
Constructor Detail
-
GenericTask
public GenericTask(GenericPollingConsumer pollingConsumer, long interval)
-
-
Method Detail
-
taskExecute
protected void taskExecute()
- Specified by:
taskExecutein classInboundTask
-
getInboundProperties
public Properties getInboundProperties()
- Specified by:
getInboundPropertiesin interfacePinnedPollingTask- Specified by:
getInboundPropertiesin classInboundTask
-
init
public void init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
-
destroy
public void destroy()
-
-