Package org.wso2.carbon.connector.core
Interface Connector
-
- All Superinterfaces:
org.apache.synapse.Mediator
,org.apache.synapse.SynapseArtifact
- All Known Implementing Classes:
AbstractConnector
,GenerateAccessToken
,RefreshAccessToken
,RefreshAccessTokenWithExpiry
public interface Connector extends org.apache.synapse.Mediator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(org.apache.synapse.MessageContext messageContext)
implements the connection logic to external API or custom service pattern-
Methods inherited from interface org.apache.synapse.Mediator
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, mediate, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
-
-
-
-
Method Detail
-
connect
void connect(org.apache.synapse.MessageContext messageContext) throws ConnectException
implements the connection logic to external API or custom service pattern- Throws:
ConnectException
- when error during conenction to APIs or unexpected errors
-
-