Class WebScriptExtensibilityModuleHandler


  • public class WebScriptExtensibilityModuleHandler
    extends java.lang.Object
    • Constructor Detail

      • WebScriptExtensibilityModuleHandler

        public WebScriptExtensibilityModuleHandler()
    • Method Detail

      • setConfigurationSearchPath

        public void setConfigurationSearchPath​(SearchPath configurationSearchPath)

        A setter provided so that the Spring configuration can set the SearchPath

        Parameters:
        configurationSearchPath - SearchPath
      • getExtensionModules

        public java.util.List<BasicExtensionModule> getExtensionModules()

        Sets up the list of BasicExtensionModule instances found in the configuration. This should only be called once when the bean initialises via the init method.

        Returns:
        A List of configured BasicExtensionModule instances.
      • getExtendingModuleFiles

        public java.util.List<java.lang.String> getExtendingModuleFiles​(BasicExtensionModule module,
                                                                        java.lang.String pathBeingProcessed)

        Returns a List of the files that should be applied to an ExtensibilityModel being processed.

        Parameters:
        pathBeingProcessed - The path of the file being processed. This will typically be a FreeMarker template, JavaScript controller or NLS properties file.
        Returns:
        A List of the files that extend the current file being processed.