Class MultiScriptLoader
- java.lang.Object
-
- org.springframework.extensions.webscripts.MultiScriptLoader
-
- All Implemented Interfaces:
ScriptLoader
public class MultiScriptLoader extends java.lang.Object implements ScriptLoader
Composite script loader- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description MultiScriptLoader(ScriptLoader[] loaders)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptContentgetScript(java.lang.String path)Gets the script location for the script at the specified path
-
-
-
Constructor Detail
-
MultiScriptLoader
public MultiScriptLoader(ScriptLoader[] loaders)
Construct- Parameters:
loaders- ScriptLoader[]
-
-
Method Detail
-
getScript
public ScriptContent getScript(java.lang.String path)
Description copied from interface:ScriptLoaderGets the script location for the script at the specified path- Specified by:
getScriptin interfaceScriptLoader- Parameters:
path- path within api store- Returns:
- script location (or null, if script does not exist at path)
-
-