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 void
destroy()
Properties
getInboundProperties()
void
init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
protected void
taskExecute()
-
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:
taskExecute
in classInboundTask
-
getInboundProperties
public Properties getInboundProperties()
- Specified by:
getInboundProperties
in interfacePinnedPollingTask
- Specified by:
getInboundProperties
in classInboundTask
-
init
public void init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
-
destroy
public void destroy()
-
-