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, 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 void
destroy()
Stop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stopString
getName()
void
init()
void
setName(String name)
void
start()
void
update()
-
Methods inherited from class org.wso2.carbon.inbound.endpoint.common.InboundRequestProcessorImpl
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:
init
in 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:
destroy
in interfaceorg.apache.synapse.inbound.InboundRequestProcessor
- Overrides:
destroy
in classInboundRequestProcessorImpl
-
getName
public String getName()
-
setName
public void setName(String name)
-
update
public void update()
- Specified by:
update
in interfaceorg.apache.synapse.task.TaskStartupObserver
-
-