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 -
Constructor Summary
ConstructorsConstructorDescriptionGenericInboundListener(org.apache.synapse.inbound.InboundProcessorParams inboundParams) -
Method Summary
Modifier and TypeMethodDescriptionbooleanactivate()booleanstatic GenericInboundListenergetInstance(org.apache.synapse.inbound.InboundProcessorParams inboundParams) This is to get the GenericInboundListener instance for given paramsprotected static voidhandleException(String msg, Exception e) booleanstatic booleanisListeningInboundEndpoint(org.apache.synapse.inbound.InboundProcessorParams inboundParameters) States whether generic endpoint is a listening Return true; if listeningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.synapse.inbound.InboundRequestProcessor
destroy, init, pause
-
Field Details
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR
- See Also:
-
PARAM_INBOUND_ENDPOINT_BEHAVIOR_LISTENING
- See Also:
-
injectingSequence
-
onErrorSequence
-
name
-
params
protected org.apache.synapse.inbound.InboundProcessorParams params -
startInPausedMode
protected boolean startInPausedMode
-
-
Constructor Details
-
GenericInboundListener
public GenericInboundListener(org.apache.synapse.inbound.InboundProcessorParams inboundParams)
-
-
Method Details
-
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
-
handleException
-
activate
public boolean activate()- Specified by:
activatein interfaceorg.apache.synapse.inbound.InboundRequestProcessor
-
deactivate
public boolean deactivate()- Specified by:
deactivatein interfaceorg.apache.synapse.inbound.InboundRequestProcessor
-
isDeactivated
public boolean isDeactivated()- Specified by:
isDeactivatedin interfaceorg.apache.synapse.inbound.InboundRequestProcessor
-