Package com.axelor.db.tenants
Class TenantModule
java.lang.Object
com.google.inject.AbstractModule
com.axelor.db.tenants.TenantModule
- All Implemented Interfaces:
Module
A Guice module to provide multi-tenancy support.
-
Constructor Summary
Constructors -
Method Summary
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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
TenantModule
public TenantModule()
-
-
Method Details
-
isEnabled
public static boolean isEnabled() -
configure
protected void configure()- Overrides:
configure
in classAbstractModule
-