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
-
-
Constructor Summary
Constructors Constructor Description CarbonInboundManagementService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInboundEndpoint(String name, String sequence, String onError, String protocol, String classImpl, String suspend, ParameterDTO[] lParameterDTOs)
Create inbound EP based on the given parametersvoid
addInboundEndpointFromXMLString(String inboundElement)
Adds new inbound endpoint from XML ConfigString
disableStatistics(String inboundEndpointName)
String
disableTracing(String inboundEndpointName)
String
enableStatistics(String inboundEndpointName)
String
enableTracing(String inboundEndpointName)
InboundEndpointDTO[]
getAllInboundEndpointNames()
Get all the inbound endpoins available.InboundEndpointDTO
getInboundEndpointbyName(String endointName)
Get specific inbound ep by namevoid
removeInboundEndpoint(String name)
Removes the given inbound endpointvoid
updateInboundEndpoint(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
-
-