Class GenericInboundListener
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.generic.GenericInboundListener
-
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor
public abstract class GenericInboundListener extends Object implements org.apache.synapse.inbound.InboundRequestProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected StringinjectingSequenceprotected Stringnameprotected StringonErrorSequencestatic StringPARAM_INBOUND_ENDPOINT_BEHAVIORstatic StringPARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENINGprotected org.apache.synapse.inbound.InboundProcessorParamsparams
-
Constructor Summary
Constructors Constructor Description GenericInboundListener(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenericInboundListenergetInstance(org.apache.synapse.inbound.InboundProcessorParams inboundParams)This is to get the GenericInboundListener instance for given paramsprotected static voidhandleException(String msg, Exception e)static booleanisListeningInboundEndpoint(org.apache.synapse.inbound.InboundProcessorParams inboundParameters)States whether generic endpoint is a listening Return true; if listening
-
-
-
Field Detail
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR
public static final String PARAM_INBOUND_ENDPOINT_BEHAVIOR
- See Also:
- Constant Field Values
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
public static final String PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
- See Also:
- Constant Field Values
-
injectingSequence
protected String injectingSequence
-
onErrorSequence
protected String onErrorSequence
-
name
protected String name
-
params
protected org.apache.synapse.inbound.InboundProcessorParams params
-
-
Method Detail
-
getInstance
public static GenericInboundListener getInstance(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
This is to get the GenericInboundListener instance for given params- Parameters:
inboundParams-- Returns:
-
isListeningInboundEndpoint
public static boolean isListeningInboundEndpoint(org.apache.synapse.inbound.InboundProcessorParams inboundParameters)
States whether generic endpoint is a listening Return true; if listening- Parameters:
inboundParameters- Inbound Parameters for endpoint- Returns:
- boolean
-
-