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.AbstractServiceBusAdminAdmin service related to inbound endpoint
-
-
Constructor Summary
Constructors Constructor Description CarbonInboundManagementService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInboundEndpoint(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 ConfigStringdisableStatistics(String inboundEndpointName)StringdisableTracing(String inboundEndpointName)StringenableStatistics(String inboundEndpointName)StringenableTracing(String inboundEndpointName)InboundEndpointDTO[]getAllInboundEndpointNames()Get all the inbound endpoins available.InboundEndpointDTOgetInboundEndpointbyName(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 parameters-
Methods inherited from class org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
getLock, getMediationPersistenceManager, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, getSynapseEnvironment, lockSynapseConfiguration, unlockSynapseConfiguration
-
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUserId, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
-
-
-
-
Method Detail
-
getAllInboundEndpointNames
public InboundEndpointDTO[] getAllInboundEndpointNames() throws InboundManagementException
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
public void addInboundEndpointFromXMLString(String inboundElement)
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
public void removeInboundEndpoint(String name) throws InboundManagementException
Removes the given inbound endpoint- Parameters:
name-- Throws:
InboundManagementException
-
enableStatistics
public String enableStatistics(String inboundEndpointName) throws InboundManagementException
- Throws:
InboundManagementException
-
disableStatistics
public String disableStatistics(String inboundEndpointName) throws InboundManagementException
- Throws:
InboundManagementException
-
enableTracing
public String enableTracing(String inboundEndpointName) throws InboundManagementException
- Throws:
InboundManagementException
-
disableTracing
public String disableTracing(String inboundEndpointName) throws InboundManagementException
- Throws:
InboundManagementException
-
-