Class TenantEvaluationContextRegistrar

java.lang.Object
io.micronaut.multitenancy.expression.TenantEvaluationContextRegistrar
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.expressions.context.ExpressionEvaluationContextRegistrar, io.micronaut.inject.visitor.TypeElementVisitor<io.micronaut.context.annotation.AnnotationExpressionContext,io.micronaut.context.annotation.AnnotationExpressionContext>

public class TenantEvaluationContextRegistrar extends Object implements io.micronaut.expressions.context.ExpressionEvaluationContextRegistrar
Registers the `TenantEvaluationContext` from the main module as an Evaluation context.
Since:
5.2.0
Author:
Tim Yates
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor

    io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.micronaut.expressions.context.ExpressionEvaluationContextRegistrar

    getVisitorKind, start

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled

    Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor

    finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, visitClass, visitConstructor, visitEnumConstant, visitField, visitMethod
  • Constructor Details

    • TenantEvaluationContextRegistrar

      public TenantEvaluationContextRegistrar()
  • Method Details

    • getContextClassName

      public String getContextClassName()
      Specified by:
      getContextClassName in interface io.micronaut.expressions.context.ExpressionEvaluationContextRegistrar