Class TenantDomainSetter

java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.wso2.carbon.utils.logging.handler.TenantDomainSetter
All Implemented Interfaces:
org.apache.axis2.engine.Handler

public class TenantDomainSetter extends org.apache.axis2.handlers.AbstractHandler
This handler is used to set tenant domain as a thread local variable in case where request is coming via NHTTP transport.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler

    org.apache.axis2.engine.Handler.InvocationResponse
  • Field Summary

    Fields inherited from class org.apache.axis2.handlers.AbstractHandler

    handlerDesc
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
    static String
     
    org.apache.axis2.engine.Handler.InvocationResponse
    invoke(org.apache.axis2.context.MessageContext messageContext)
     

    Methods inherited from class org.apache.axis2.handlers.AbstractHandler

    cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TenantDomainSetter

      public TenantDomainSetter()
  • Method Details

    • getServiceName

      public static String getServiceName()
    • invoke

      public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getTenantDomain

      public static String getTenantDomain()
      Returns:
      String tenant domain of incoming request