Class DataSourceMultiTenancyEnabledCondition

java.lang.Object
io.micronaut.data.runtime.multitenancy.conf.DataSourceMultiTenancyEnabledCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

@Internal public final class DataSourceMultiTenancyEnabledCondition extends Object implements io.micronaut.context.condition.Condition
Multi-tenancy mode MultiTenancyMode.DATASOURCE condition.
  • Constructor Details

    • DataSourceMultiTenancyEnabledCondition

      public DataSourceMultiTenancyEnabledCondition()
  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition