Package com.axelor.db.tenants
Class TenantModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.axelor.db.tenants.TenantModule
-
- All Implemented Interfaces:
Module
public class TenantModule extends AbstractModule
A Guice module to provide multi-tenancy support.
-
-
Constructor Summary
Constructors Constructor Description TenantModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
static boolean
isEnabled()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
isEnabled
public static boolean isEnabled()
-
configure
protected void configure()
- Overrides:
configure
in classAbstractModule
-
-