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.ConfigurationContext
getConfigurationContext()
Get the ConfigurationContext for this SynapseConfigurationorg.apache.synapse.core.SynapseEnvironment
getSynapseEnvironment()
Retrieve the synapse configurationint
getTenantId()
Get the tenant id corresponding to this synapse configuration.void
setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
void
setSynapseEnvironment(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
Set the SynapseEnvironment
-
-
-
Method Detail
-
getTenantId
public int getTenantId()
Description copied from interface:SynapseEnvironmentService
Get the tenant id corresponding to this synapse configuration.- Specified by:
getTenantId
in interfaceSynapseEnvironmentService
- Returns:
- integer value of the tenant id
-
getSynapseEnvironment
public org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment()
Description copied from interface:SynapseEnvironmentService
Retrieve the synapse configuration- Specified by:
getSynapseEnvironment
in interfaceSynapseEnvironmentService
- Returns:
- synapse configuration
-
setSynapseEnvironment
public void setSynapseEnvironment(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
Description copied from interface:SynapseEnvironmentService
Set the SynapseEnvironment- Specified by:
setSynapseEnvironment
in interfaceSynapseEnvironmentService
- Parameters:
synapseEnvironment
- SynapseEnvrionment
-
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
Description copied from interface:SynapseEnvironmentService
Get the ConfigurationContext for this SynapseConfiguration- Specified by:
getConfigurationContext
in interfaceSynapseEnvironmentService
- Returns:
- the ConfigurationContext
-
setConfigurationContext
public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
-
-