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.ConfigurationContext
getConfigurationContext()
Get the ConfigurationContext for this SynapseConfigurationorg.apache.synapse.config.SynapseConfiguration
getSynapseConfiguration()
Retrieve the synapse configurationint
getTenantId()
Get the tenant id corresponding to this synapse configuration.void
setSynapseConfiguration(org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
Set the SynapseConfiguration
-
-
-
Method Detail
-
getSynapseConfiguration
public org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration()
Description copied from interface:SynapseConfigurationService
Retrieve the synapse configuration- Specified by:
getSynapseConfiguration
in interfaceSynapseConfigurationService
- Returns:
- synapse configuration
-
setSynapseConfiguration
public void setSynapseConfiguration(org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
Description copied from interface:SynapseConfigurationService
Set the SynapseConfiguration- Specified by:
setSynapseConfiguration
in interfaceSynapseConfigurationService
- Parameters:
synapseConfiguration
- synapse configuration
-
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
Description copied from interface:SynapseConfigurationService
Get the ConfigurationContext for this SynapseConfiguration- Specified by:
getConfigurationContext
in interfaceSynapseConfigurationService
- Returns:
- the ConfigurationContext
-
getTenantId
public int getTenantId()
Description copied from interface:SynapseConfigurationService
Get the tenant id corresponding to this synapse configuration.- Specified by:
getTenantId
in interfaceSynapseConfigurationService
- Returns:
- integer value of the tenant id
-
-