Class WebScriptExtensibilityModuleHandler
- java.lang.Object
-
- org.springframework.extensions.surf.extensibility.WebScriptExtensibilityModuleHandler
-
public class WebScriptExtensibilityModuleHandler extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<BasicExtensionModule>extensionModules
-
Constructor Summary
Constructors Constructor Description WebScriptExtensibilityModuleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getExtendingModuleFiles(BasicExtensionModule module, java.lang.String pathBeingProcessed)Returns aListof the files that should be applied to anExtensibilityModelbeing processed.java.util.List<BasicExtensionModule>getExtensionModules()Sets up the list ofBasicExtensionModuleinstances found in the configuration.voidsetConfigurationSearchPath(SearchPath configurationSearchPath)A setter provided so that the Spring configuration can set theSearchPath
-
-
-
Field Detail
-
extensionModules
protected java.util.List<BasicExtensionModule> extensionModules
The
ListofBasicExtensionModuleconfiguration files found on theSearchPath. ThisListwill only initialised once (the first time that it is requested).
-
-
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
BasicExtensionModuleinstances found in the configuration. This should only be called once when the bean initialises via theinitmethod.- Returns:
- A
Listof configuredBasicExtensionModuleinstances.
-
getExtendingModuleFiles
public java.util.List<java.lang.String> getExtendingModuleFiles(BasicExtensionModule module, java.lang.String pathBeingProcessed)
Returns a
Listof the files that should be applied to anExtensibilityModelbeing 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
Listof the files that extend the current file being processed.
-
-