org.wso2.carbon.mediation.initializer.handler

## Class CarbonTenantInfoInitiator

- java.lang.Object
- - org.wso2.carbon.mediation.initializer.handler.CarbonTenantInfoInitiator

- All Implemented Interfaces:
    org.apache.synapse.commons.util.ext.TenantInfoInitiator

      public class CarbonTenantInfoInitiator
      extends Object
      implements org.apache.synapse.commons.util.ext.TenantInfoInitiator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CarbonTenantInfoInitiator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cleanTenantInfo()`
    `void` | `initTenantInfo()`
    `void` | `initTenantInfo(String uri)` initialize tenant information based on the request URI

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CarbonTenantInfoInitiator

          public CarbonTenantInfoInitiator()

  - ### Method Detail

    - #### initTenantInfo

          public void initTenantInfo()

      Specified by:
        `initTenantInfo` in interface `org.apache.synapse.commons.util.ext.TenantInfoInitiator`

    - #### initTenantInfo

          public void initTenantInfo(String uri)

      initialize tenant information based on the request URI
      Specified by:
        `initTenantInfo` in interface `org.apache.synapse.commons.util.ext.TenantInfoInitiator`
      Parameters:
        `uri` - request URI

    - #### cleanTenantInfo

          public void cleanTenantInfo()

      Specified by:
        `cleanTenantInfo` in interface `org.apache.synapse.commons.util.ext.TenantInfoInitiator`

Copyright © 2020 WSO2. All rights reserved.