Class MultiTenancyConfiguration

java.lang.Object
io.micronaut.data.runtime.multitenancy.conf.MultiTenancyConfiguration

@ConfigurationProperties("micronaut.data.multi-tenancy") public final class MultiTenancyConfiguration extends Object
The multi-tenancy configuration.
Since:
3.8.0
Author:
Denis Stepanov
  • Constructor Details

    • MultiTenancyConfiguration

      public MultiTenancyConfiguration()
  • Method Details

    • getMode

      @Nullable public @Nullable MultiTenancyMode getMode()
      Multi-tenancy mode specified.
      Returns:
      The multi tenancy mode set or a null if not set
    • setMode

      public void setMode(MultiTenancyMode mode)
      Sets the multi-tenancy mode.
      Parameters:
      mode - The multi-tenancy mode