org.springframework.extensions.webscripts
Class MultiScriptLoader
java.lang.Object
org.springframework.extensions.webscripts.MultiScriptLoader
- All Implemented Interfaces:
- ScriptLoader
public class MultiScriptLoader
- extends Object
- implements ScriptLoader
Composite script loader
- Author:
- davidc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiScriptLoader
public MultiScriptLoader(ScriptLoader[] loaders)
- Construct
- Parameters:
loaders
-
getScript
public ScriptContent getScript(String path)
- Description copied from interface:
ScriptLoader
- Gets the script location for the script at the specified path
- Specified by:
getScript
in interface ScriptLoader
- Parameters:
path
- path within api store
- Returns:
- script location (or null, if script does not exist at path)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.