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 Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable MultiTenancyMode
getMode()
Multi-tenancy mode specified.void
setMode
(MultiTenancyMode mode) Sets the multi-tenancy mode.
-
Constructor Details
-
MultiTenancyConfiguration
public MultiTenancyConfiguration()
-
-
Method Details
-
getMode
Multi-tenancy mode specified.- Returns:
- The multi tenancy mode set or a null if not set
-
setMode
Sets the multi-tenancy mode.- Parameters:
mode
- The multi-tenancy mode
-