Package org.wso2.carbon.inbound
Class CarbonInboundManagementService
java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
org.wso2.carbon.inbound.CarbonInboundManagementService
public class CarbonInboundManagementService
extends org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
Admin service related to inbound endpoint
-
Field Summary
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInboundEndpoint(String name, String sequence, String onError, String protocol, String classImpl, String suspend, ParameterDTO[] lParameterDTOs) Create inbound EP based on the given parametersvoidaddInboundEndpointFromXMLString(String inboundElement) Adds new inbound endpoint from XML ConfigdisableStatistics(String inboundEndpointName) disableTracing(String inboundEndpointName) enableStatistics(String inboundEndpointName) enableTracing(String inboundEndpointName) Get all the inbound endpoins available.getInboundEndpointbyName(String endointName) Get specific inbound ep by namevoidremoveInboundEndpoint(String name) Removes the given inbound endpointvoidupdateInboundEndpoint(String name, String sequence, String onError, String protocol, String classImpl, String suspend, ParameterDTO[] lParameterDTOs) Update inbound endpoint with given parametersMethods inherited from class org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
getLock, getMediationPersistenceManager, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, getSynapseEnvironment, lockSynapseConfiguration, unlockSynapseConfigurationMethods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUserId, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
-
Constructor Details
-
CarbonInboundManagementService
public CarbonInboundManagementService()
-
-
Method Details
-
getAllInboundEndpointNames
Get all the inbound endpoins available.- Returns:
- List
(This contains all the inbound endpoints) - Throws:
InboundManagementException
-
getInboundEndpointbyName
public InboundEndpointDTO getInboundEndpointbyName(String endointName) throws InboundManagementException Get specific inbound ep by name- Parameters:
endointName-- Returns:
- Throws:
InboundManagementException
-
addInboundEndpoint
public void addInboundEndpoint(String name, String sequence, String onError, String protocol, String classImpl, String suspend, ParameterDTO[] lParameterDTOs) throws InboundManagementException Create inbound EP based on the given parameters- Parameters:
name-sequence-onError-protocol-classImpl-sParams-- Throws:
InboundManagementException
-
addInboundEndpointFromXMLString
Adds new inbound endpoint from XML Config- Parameters:
inboundElement-
-
updateInboundEndpoint
public void updateInboundEndpoint(String name, String sequence, String onError, String protocol, String classImpl, String suspend, ParameterDTO[] lParameterDTOs) throws InboundManagementException Update inbound endpoint with given parameters- Parameters:
name-sequence-onError-protocol-classImpl-lParameterDTOs-- Throws:
InboundManagementException
-
removeInboundEndpoint
Removes the given inbound endpoint- Parameters:
name-- Throws:
InboundManagementException
-
enableStatistics
- Throws:
InboundManagementException
-
disableStatistics
- Throws:
InboundManagementException
-
enableTracing
- Throws:
InboundManagementException
-
disableTracing
- Throws:
InboundManagementException
-