Class SynapseConfigurationServiceImpl
- java.lang.Object
-
- org.wso2.carbon.mediation.initializer.services.SynapseConfigurationServiceImpl
-
- All Implemented Interfaces:
SynapseConfigurationService
public class SynapseConfigurationServiceImpl extends Object implements SynapseConfigurationService
-
-
Constructor Summary
Constructors Constructor Description SynapseConfigurationServiceImpl(org.apache.synapse.config.SynapseConfiguration synapseConfiguration, int tenantId, org.apache.axis2.context.ConfigurationContext configurationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axis2.context.ConfigurationContextgetConfigurationContext()Get the ConfigurationContext for this SynapseConfigurationorg.apache.synapse.config.SynapseConfigurationgetSynapseConfiguration()Retrieve the synapse configurationintgetTenantId()Get the tenant id corresponding to this synapse configuration.voidsetSynapseConfiguration(org.apache.synapse.config.SynapseConfiguration synapseConfiguration)Set the SynapseConfiguration
-
-
-
Method Detail
-
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
-
-