Class WebScriptExtensibilityModuleHandler
java.lang.Object
org.springframework.extensions.surf.extensibility.WebScriptExtensibilityModuleHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExtendingModuleFiles(BasicExtensionModule module, String pathBeingProcessed) Returns aListof the files that should be applied to anExtensibilityModelbeing processed.Sets up the list ofBasicExtensionModuleinstances found in the configuration.voidsetConfigurationSearchPath(SearchPath configurationSearchPath) A setter provided so that the Spring configuration can set theSearchPath
-
Field Details
-
extensionModules
The
ListofBasicExtensionModuleconfiguration files found on theSearchPath. ThisListwill only initialised once (the first time that it is requested).
-
-
Constructor Details
-
WebScriptExtensibilityModuleHandler
public WebScriptExtensibilityModuleHandler()
-
-
Method Details
-
setConfigurationSearchPath
A setter provided so that the Spring configuration can set the
SearchPath- Parameters:
configurationSearchPath- SearchPath
-
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
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.
-