@java.lang.annotation.Target(ElementType.TYPE) @java.lang.annotation.Retention(RetentionPolicy.RUNTIME) @java.lang.annotation.Documented public @interface TenantDataSourceConfig
An annotation that adds possibility to configure whether a domain should be excluded from particular data source(s). For example:
@TenantDataSourceConfig(dataSourcesToExclude=["adminDataSource"]) class Animal implements MultiTenant{ ... }
Type | Name and Description |
---|---|
java.lang.String[] |
dataSourcesToExclude
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |