org.springframework.extensions.webscripts
Class MultiScriptLoader

java.lang.Object
  extended by org.springframework.extensions.webscripts.MultiScriptLoader
All Implemented Interfaces:
ScriptLoader

public class MultiScriptLoader
extends Object
implements ScriptLoader

Composite script loader

Author:
davidc

Constructor Summary
MultiScriptLoader(ScriptLoader[] loaders)
          Construct
 
Method Summary
 ScriptContent getScript(String path)
          Gets the script location for the script at the specified path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiScriptLoader

public MultiScriptLoader(ScriptLoader[] loaders)
Construct

Parameters:
loaders -
Method Detail

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.