RepositoryResourceBundleMessageFormatProvider
implementation providing
MessageFormat
caching per ResourceBundle
, resource key and locale.LocalizationContext
's ResourceBundle
set by HST-2 Container in the frontend pipeline.RepositoryResourceBundleMessageFormatProvider.registerBundle(String, Locale, ResourceBundle)
or RepositoryResourceBundleMessageFormatProvider.registerPreviewBundle(String, Locale, ResourceBundle)
depending on the current request context in order to register the bundle or remove any existing outdated bundle.HstRepositoryResourceBundleMessageSource.isRepositoryResourceBundleEnabled()
returns true, then it first looks up
resource bundle from the repository.RepositoryResourceBundleMessageFormatProvider
internally used for
maintaining repository-based resource bundles and message formats from them.HstPageNotFoundException
to forward request to the page not found sitemap item
configured in HST configuration.MessageSource
implementation that
accesses Config.get(javax.servlet.ServletRequest, String)
to read the default
LocalizationContext
which can be set by HST-2 Container (LocalizationValve
).HttpSessionDelegatingRepository
.HttpServletRequest
in ThreadLocal to allow the next filter chain to be able to access
the underlying HttpServletRequest
during request processing cycle.SessionRepository
implementation simply by delegating call to the underlying servlet container's HttpSession
.Session
implementation simply by delegating call to the underlying container's HttpSession
.LocalizationContext
by calling on Config.get(javax.servlet.ServletRequest, String)
.HstRepositoryResourceBundleMessageSource.getResourceBundle(String, Locale)
.MapSessionRepository
.bundle
by the basename
and locale
in order to be able to determine that the bundle
was originated from repository.bundle
by the basename
and locale
in order to be able to determine that the bundle
was originated from repository.bundle
by the basename
and locale
in order to be able to determine that the bundle
was originated from repository.bundle
by the basename
and locale
in order to be able to determine that the bundle
was originated from repository.HstRepositoryResourceBundleMessageSource.isLocalizationContextResourceBundleEnabled()
returns true,
then it tries to find the default resource bundle from LocalizationContext
first.HstRepositoryResourceBundleMessageSource.isLocalizationContextResourceBundleEnabled()
returns true,
then it tries to find the default resource bundle from LocalizationContext
first.exception
is instance of HstPageNotFoundException
,
then it tries to resolve the sitemap item path of the configured 'page not found' sitemap item
and forward request to the 'page not found' sitemap item path info.LocalizationContext
by calling on Config.get(javax.servlet.ServletRequest, String)
.HstRepositoryResourceBundleMessageSource.getResourceBundle(String, Locale)
.RepositoryResourceBundleMessageFormatProvider
internally to be used for
maintaining repository-based resource bundles and message formats from them.Copyright © 2019. All rights reserved.