Class GenericProcessor
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.common.InboundRequestProcessorImpl
-
- org.wso2.carbon.inbound.endpoint.protocol.generic.GenericProcessor
-
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor,org.apache.synapse.task.TaskStartupObserver
public class GenericProcessor extends InboundRequestProcessorImpl implements org.apache.synapse.task.TaskStartupObserver
-
-
Field Summary
-
Fields inherited from class org.wso2.carbon.inbound.endpoint.common.InboundRequestProcessorImpl
COMMON_ENDPOINT_POSTFIX, coordination, interval, name, startInPausedMode, synapseEnvironment
-
-
Constructor Summary
Constructors Constructor Description GenericProcessor(String name, String classImpl, Properties properties, long scanInterval, String injectingSeq, String onErrorSeq, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, boolean coordination, boolean sequential)GenericProcessor(org.apache.synapse.inbound.InboundProcessorParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stopStringgetName()voidinit()voidsetName(String name)voidstart()voidupdate()-
Methods inherited from class org.wso2.carbon.inbound.endpoint.common.InboundRequestProcessorImpl
activate, deactivate, isDeactivated, isPinnedServer, isPinnedServerEnabled, start
-
-
-
-
Constructor Detail
-
GenericProcessor
public GenericProcessor(String name, String classImpl, Properties properties, long scanInterval, String injectingSeq, String onErrorSeq, org.apache.synapse.core.SynapseEnvironment synapseEnvironment, boolean coordination, boolean sequential)
-
GenericProcessor
public GenericProcessor(org.apache.synapse.inbound.InboundProcessorParams params)
-
-
Method Detail
-
init
public void init()
- Specified by:
initin interfaceorg.apache.synapse.inbound.InboundRequestProcessor
-
start
public void start()
-
destroy
public void destroy()
Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stop- Specified by:
destroyin interfaceorg.apache.synapse.inbound.InboundRequestProcessor- Overrides:
destroyin classInboundRequestProcessorImpl
-
getName
public String getName()
-
setName
public void setName(String name)
-
update
public void update()
- Specified by:
updatein interfaceorg.apache.synapse.task.TaskStartupObserver
-
-