Package de.hybris.bootstrap.config
Class TenantInfo
java.lang.Object
de.hybris.bootstrap.config.TenantInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRegExp pattern to lookup tenant web root mapping config paramerers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExtensionForWebroot(String webroot) getWebMapping(String extName) Retrieves the web mapping for the extension starting with slash("/").booleanisWebrootOwner(String webroot)
-
Field Details
-
TENANT_WEBROOT_CONFIG_REGEXP_PATTERN
RegExp pattern to lookup tenant web root mapping config paramerers.- See Also:
-
-
Constructor Details
-
TenantInfo
-
-
Method Details
-
getTenantId
-
getTenantProperties
-
getWebMapping
Retrieves the web mapping for the extension starting with slash("/"). For example, the tenant_junit.properties has the following setting:hmc.webroot=/hmc_junit hac.webroot=hac_junit
so the web mapping for hmc is /hmc_junit, and for hac is /hac_junit.
- Parameters:
extName- name of the extension- Returns:
- found web mapping starting with slash("/"), or null if no mapping can be found
-
getExtensionForWebroot
-
isWebrootOwner
-