Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractModel - Class in tech.esphero.multitenant.model
- AbstractModel() - Constructor for class tech.esphero.multitenant.model.AbstractModel
- addInterceptors(InterceptorRegistry) - Method in class tech.esphero.multitenant.config.WebConfig
- afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class tech.esphero.multitenant.interceptor.TenantInterceptor
C
- clear() - Static method in class tech.esphero.multitenant.context.TenantContext
D
- DataSourceConfig - Class in tech.esphero.multitenant.model
- DataSourceConfig() - Constructor for class tech.esphero.multitenant.model.DataSourceConfig
- DataSourceConfigRepository - Interface in tech.esphero.multitenant.repository
- DEFAULT_TENANT - Static variable in class tech.esphero.multitenant.context.TenantContext
- determineCurrentLookupKey() - Method in class tech.esphero.multitenant.datasource.TenantAwareDataSource
- determineTargetDataSource() - Method in class tech.esphero.multitenant.datasource.TenantAwareDataSource
E
- entityManagerFactoryBuilder(JpaVendorAdapter) - Method in class tech.esphero.multitenant.config.EntityManagerFactoryBuilderConfig
- EntityManagerFactoryBuilderConfig - Class in tech.esphero.multitenant.config
- EntityManagerFactoryBuilderConfig() - Constructor for class tech.esphero.multitenant.config.EntityManagerFactoryBuilderConfig
- evictDataSource(String) - Method in class tech.esphero.multitenant.manager.TenantManager
-
Remove o DataSource do cache (opcional, para gestão de memória ou reinicialização).
F
- findByTenant_TenantIdAndService(String, Service) - Method in interface tech.esphero.multitenant.repository.DataSourceConfigRepository
G
- getCurrentTenant() - Static method in class tech.esphero.multitenant.context.TenantContext
- getCurrentTenantDataSource() - Method in class tech.esphero.multitenant.manager.TenantManager
-
Obtém o DataSource do tenant atual com base no TenantContext.
- getOrCreateDataSource(String) - Method in class tech.esphero.multitenant.manager.TenantManager
-
Obtém ou cria um DataSource com base no tenantId e no Service configurado.
- GlobalExceptionHandler - Class in tech.esphero.multitenant.web
- GlobalExceptionHandler() - Constructor for class tech.esphero.multitenant.web.GlobalExceptionHandler
H
- handleInvalidTenantException(InvalidTenantException, WebRequest) - Method in class tech.esphero.multitenant.web.GlobalExceptionHandler
- Hikari() - Constructor for class tech.esphero.multitenant.config.MasterDataSourceProperties.Hikari
I
- init() - Method in class tech.esphero.multitenant.manager.TenantManager
-
Inicializa o valor do Service e configura o DataSource padrão no início da aplicação.
- InvalidTenantException - Exception Class in tech.esphero.multitenant.exception
- InvalidTenantException(String) - Constructor for exception class tech.esphero.multitenant.exception.InvalidTenantException
J
- jpaVendorAdapter() - Method in class tech.esphero.multitenant.config.EntityManagerFactoryBuilderConfig
L
- liquibase(DataSource) - Method in class tech.esphero.multitenant.config.LiquibaseConfig
- LiquibaseConfig - Class in tech.esphero.multitenant.config
- LiquibaseConfig() - Constructor for class tech.esphero.multitenant.config.LiquibaseConfig
M
- masterDataSource() - Method in class tech.esphero.multitenant.MultitenantAutoConfiguration
- MasterDataSourceProperties - Class in tech.esphero.multitenant.config
- MasterDataSourceProperties() - Constructor for class tech.esphero.multitenant.config.MasterDataSourceProperties
- MasterDataSourceProperties.Hikari - Class in tech.esphero.multitenant.config
- masterEntityManagerFactory(EntityManagerFactoryBuilder, DataSource) - Method in class tech.esphero.multitenant.MultitenantAutoConfiguration
- masterTransactionManager(EntityManagerFactory) - Method in class tech.esphero.multitenant.MultitenantAutoConfiguration
- MITRA - Enum constant in enum class tech.esphero.multitenant.model.Service
- MultitenantAutoConfiguration - Class in tech.esphero.multitenant
- MultitenantAutoConfiguration() - Constructor for class tech.esphero.multitenant.MultitenantAutoConfiguration
O
- ORGANIZATION - Enum constant in enum class tech.esphero.multitenant.model.Service
- OSIRIS - Enum constant in enum class tech.esphero.multitenant.model.Service
P
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class tech.esphero.multitenant.interceptor.TenantInterceptor
S
- Service - Enum Class in tech.esphero.multitenant.model
- setCurrentTenant(String) - Static method in class tech.esphero.multitenant.context.TenantContext
T
- tech.esphero.multitenant - package tech.esphero.multitenant
- tech.esphero.multitenant.config - package tech.esphero.multitenant.config
- tech.esphero.multitenant.context - package tech.esphero.multitenant.context
- tech.esphero.multitenant.datasource - package tech.esphero.multitenant.datasource
- tech.esphero.multitenant.exception - package tech.esphero.multitenant.exception
- tech.esphero.multitenant.interceptor - package tech.esphero.multitenant.interceptor
- tech.esphero.multitenant.manager - package tech.esphero.multitenant.manager
- tech.esphero.multitenant.model - package tech.esphero.multitenant.model
- tech.esphero.multitenant.repository - package tech.esphero.multitenant.repository
- tech.esphero.multitenant.web - package tech.esphero.multitenant.web
- Tenant - Class in tech.esphero.multitenant.model
- Tenant() - Constructor for class tech.esphero.multitenant.model.Tenant
- tenantAwareDataSource() - Method in class tech.esphero.multitenant.config.TenantDataSourceConfig
- TenantAwareDataSource - Class in tech.esphero.multitenant.datasource
- TenantAwareDataSource(TenantManager) - Constructor for class tech.esphero.multitenant.datasource.TenantAwareDataSource
- TenantContext - Class in tech.esphero.multitenant.context
- TenantContext() - Constructor for class tech.esphero.multitenant.context.TenantContext
- TenantDataSourceConfig - Class in tech.esphero.multitenant.config
- TenantDataSourceConfig(TenantManager) - Constructor for class tech.esphero.multitenant.config.TenantDataSourceConfig
- tenantEntityManagerFactory(EntityManagerFactoryBuilder, String, DataSource) - Method in class tech.esphero.multitenant.config.TenantDataSourceConfig
- TenantInterceptor - Class in tech.esphero.multitenant.interceptor
- TenantInterceptor() - Constructor for class tech.esphero.multitenant.interceptor.TenantInterceptor
- TenantManager - Class in tech.esphero.multitenant.manager
- TenantManager() - Constructor for class tech.esphero.multitenant.manager.TenantManager
- TenantRepository - Interface in tech.esphero.multitenant.repository
- tenantTransactionManager(EntityManagerFactory) - Method in class tech.esphero.multitenant.config.TenantDataSourceConfig
U
V
- valueOf(String) - Static method in enum class tech.esphero.multitenant.model.Service
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tech.esphero.multitenant.model.Service
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebConfig - Class in tech.esphero.multitenant.config
- WebConfig() - Constructor for class tech.esphero.multitenant.config.WebConfig
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form