Class SynapseConfigurationServiceImpl
java.lang.Object
org.wso2.carbon.mediation.initializer.services.SynapseConfigurationServiceImpl
- All Implemented Interfaces:
SynapseConfigurationService
-
Constructor Summary
ConstructorsConstructorDescriptionSynapseConfigurationServiceImpl(org.apache.synapse.config.SynapseConfiguration synapseConfiguration, int tenantId, org.apache.axis2.context.ConfigurationContext configurationContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axis2.context.ConfigurationContextGet the ConfigurationContext for this SynapseConfigurationorg.apache.synapse.config.SynapseConfigurationRetrieve the synapse configurationintGet the tenant id corresponding to this synapse configuration.voidsetSynapseConfiguration(org.apache.synapse.config.SynapseConfiguration synapseConfiguration) Set the SynapseConfiguration
-
Constructor Details
-
SynapseConfigurationServiceImpl
public SynapseConfigurationServiceImpl(org.apache.synapse.config.SynapseConfiguration synapseConfiguration, int tenantId, org.apache.axis2.context.ConfigurationContext configurationContext)
-
-
Method Details
-
getSynapseConfiguration
public org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration()Description copied from interface:SynapseConfigurationServiceRetrieve the synapse configuration- Specified by:
getSynapseConfigurationin interfaceSynapseConfigurationService- Returns:
- synapse configuration
-
setSynapseConfiguration
public void setSynapseConfiguration(org.apache.synapse.config.SynapseConfiguration synapseConfiguration) Description copied from interface:SynapseConfigurationServiceSet the SynapseConfiguration- Specified by:
setSynapseConfigurationin interfaceSynapseConfigurationService- Parameters:
synapseConfiguration- synapse configuration
-
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()Description copied from interface:SynapseConfigurationServiceGet the ConfigurationContext for this SynapseConfiguration- Specified by:
getConfigurationContextin interfaceSynapseConfigurationService- Returns:
- the ConfigurationContext
-
getTenantId
public int getTenantId()Description copied from interface:SynapseConfigurationServiceGet the tenant id corresponding to this synapse configuration.- Specified by:
getTenantIdin interfaceSynapseConfigurationService- Returns:
- integer value of the tenant id
-