Package de.hybris.bootstrap.config
Class TenantsInfoLoader
- java.lang.Object
-
- de.hybris.bootstrap.config.TenantsInfoLoader
-
public class TenantsInfoLoader extends java.lang.ObjectLoad off-line tenant configuration from ${PLATFORMHOME}/tenant_{tenantID}.properties and/or ${CONFIG}/local_tenant_{tenantID}.properties.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALLOWED_EXTENSIONSstatic java.lang.StringFORBIDDEN_EXTENSIONS
-
Constructor Summary
Constructors Constructor Description TenantsInfoLoader(PlatformConfig platformConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.FilegetConfigDir()protected java.util.Collection<java.lang.String>getInstalledTenantIDs()protected PlatformConfiggetPlatformConfig()protected java.io.FilegetPlatformHome()java.util.Map<java.lang.String,TenantInfo>getSlaveTenants()lazily loads map of slaveTenantInfo
-
-
-
Field Detail
-
FORBIDDEN_EXTENSIONS
public static final java.lang.String FORBIDDEN_EXTENSIONS
- See Also:
- Constant Field Values
-
ALLOWED_EXTENSIONS
public static final java.lang.String ALLOWED_EXTENSIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TenantsInfoLoader
public TenantsInfoLoader(PlatformConfig platformConfig)
-
-
Method Detail
-
getInstalledTenantIDs
protected java.util.Collection<java.lang.String> getInstalledTenantIDs()
-
getPlatformConfig
protected PlatformConfig getPlatformConfig()
-
getSlaveTenants
public java.util.Map<java.lang.String,TenantInfo> getSlaveTenants()
lazily loads map of slaveTenantInfo
-
getPlatformHome
protected java.io.File getPlatformHome()
-
getConfigDir
protected java.io.File getConfigDir()
-
-