Class InboundOneTimeTriggerEventBasedProcessor
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
-
- org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerEventBasedProcessor
-
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor
- Direct Known Subclasses:
GenericEventBasedListener
public abstract class InboundOneTimeTriggerEventBasedProcessor extends InboundOneTimeTriggerRequestProcessor
-
-
Field Summary
-
Fields inherited from class org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
COMMON_ENDPOINT_POSTFIX, coordination, name, startUpController, synapseEnvironment, TASK_THRESHOLD_INTERVAL
-
-
Constructor Summary
Constructors Constructor Description InboundOneTimeTriggerEventBasedProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stopprotected void
start(GenericOneTimeTask task, String endpointPostfix)
Based on the coordination option schedule the task with NTASK or run as a background thread-
Methods inherited from class org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
start
-
-
-
-
Method Detail
-
start
protected void start(GenericOneTimeTask task, String endpointPostfix)
Based on the coordination option schedule the task with NTASK or run as a background thread- Parameters:
task
-endpointPostfix
-
-
destroy
public void destroy()
Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stop- Specified by:
destroy
in interfaceorg.apache.synapse.inbound.InboundRequestProcessor
- Overrides:
destroy
in classInboundOneTimeTriggerRequestProcessor
-
-