Class SynapseEnvironmentServiceImpl
- java.lang.Object
-
- org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentServiceImpl
-
- All Implemented Interfaces:
SynapseEnvironmentService
public class SynapseEnvironmentServiceImpl extends Object implements SynapseEnvironmentService
-
-
Constructor Summary
Constructors Constructor Description SynapseEnvironmentServiceImpl(org.apache.synapse.core.SynapseEnvironment synapseEnvironment, int tenantId, org.apache.axis2.context.ConfigurationContext configCtx)
-
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.core.SynapseEnvironmentgetSynapseEnvironment()Retrieve the synapse configurationintgetTenantId()Get the tenant id corresponding to this synapse configuration.voidsetConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)voidsetSynapseEnvironment(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)Set the SynapseEnvironment
-
-
-
Method Detail
-
getTenantId
public int getTenantId()
Description copied from interface:SynapseEnvironmentServiceGet the tenant id corresponding to this synapse configuration.- Specified by:
getTenantIdin interfaceSynapseEnvironmentService- Returns:
- integer value of the tenant id
-
getSynapseEnvironment
public org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment()
Description copied from interface:SynapseEnvironmentServiceRetrieve the synapse configuration- Specified by:
getSynapseEnvironmentin interfaceSynapseEnvironmentService- Returns:
- synapse configuration
-
setSynapseEnvironment
public void setSynapseEnvironment(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
Description copied from interface:SynapseEnvironmentServiceSet the SynapseEnvironment- Specified by:
setSynapseEnvironmentin interfaceSynapseEnvironmentService- Parameters:
synapseEnvironment- SynapseEnvrionment
-
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
Description copied from interface:SynapseEnvironmentServiceGet the ConfigurationContext for this SynapseConfiguration- Specified by:
getConfigurationContextin interfaceSynapseEnvironmentService- Returns:
- the ConfigurationContext
-
setConfigurationContext
public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
-
-