Class SynapseEnvironmentServiceImpl

java.lang.Object
org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentServiceImpl
All Implemented Interfaces:
SynapseEnvironmentService

public class SynapseEnvironmentServiceImpl extends Object implements SynapseEnvironmentService
  • Constructor Details

    • SynapseEnvironmentServiceImpl

      public SynapseEnvironmentServiceImpl(org.apache.synapse.core.SynapseEnvironment synapseEnvironment, int tenantId, org.apache.axis2.context.ConfigurationContext configCtx)
  • Method Details

    • getTenantId

      public int getTenantId()
      Description copied from interface: SynapseEnvironmentService
      Get the tenant id corresponding to this synapse configuration.
      Specified by:
      getTenantId in interface SynapseEnvironmentService
      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 interface SynapseEnvironmentService
      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 interface SynapseEnvironmentService
      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 interface SynapseEnvironmentService
      Returns:
      the ConfigurationContext
    • setConfigurationContext

      public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)