Class ConfigurableCockpitLabelLocator

  • All Implemented Interfaces:
    org.zkoss.util.resource.LabelLocator

    public class ConfigurableCockpitLabelLocator
    extends CockpitLocator
    Provides functionality for adding localization files to cockpits. Register as bean with scope="tenant" and it will be recognized by HybrisThreadInit.
    • Constructor Detail

      • ConfigurableCockpitLabelLocator

        public ConfigurableCockpitLabelLocator()
    • Method Detail

      • locate

        public java.net.URL locate​(java.util.Locale locale)
                            throws java.lang.Exception
        Specified by:
        locate in interface org.zkoss.util.resource.LabelLocator
        Overrides:
        locate in class CockpitLocator
        Throws:
        java.lang.Exception
      • setResourceFolder

        public void setResourceFolder​(java.lang.String resourceFolder)