/** * @see freemarker.cache.TemplateLoader#findTemplateSource(java.lang.String) */ public Object findTemplateSource(String name) throws IOException { RemoteStoreTemplateSource source = null; if (hasDocument(name)) { source = new RemoteStoreTemplateSource(name); } return source; }
/** * @see freemarker.cache.TemplateLoader#findTemplateSource(java.lang.String) */ public Object findTemplateSource(String name) throws IOException { RemoteStoreTemplateSource source = null; if (hasDocument(name)) { source = new RemoteStoreTemplateSource(name); } return source; }
/** * @see freemarker.cache.TemplateLoader#findTemplateSource(java.lang.String) */ public Object findTemplateSource(String name) throws IOException { RemoteStoreTemplateSource source = null; if (hasDocument(name)) { source = new RemoteStoreTemplateSource(name); } return source; }
/** * @see org.springframework.extensions.webscripts.ScriptLoader#getScript(java.lang.String) */ public ScriptContent getScript(String path) { ScriptContent sc = null; try { if (hasDocument(path)) { sc = new RemoteScriptContent(path); } } catch (IOException e) { throw new WebScriptException("Error locating script " + path, e); } return sc; } }
/** * @see org.springframework.extensions.webscripts.ScriptLoader#getScript(java.lang.String) */ public ScriptContent getScript(String path) { ScriptContent sc = null; try { if (hasDocument(path)) { sc = new RemoteScriptContent(path); } } catch (IOException e) { throw new WebScriptException("Error locating script " + path, e); } return sc; } }
/** * @see org.springframework.extensions.webscripts.ScriptLoader#getScript(java.lang.String) */ public ScriptContent getScript(String path) { ScriptContent sc = null; try { if (hasDocument(path)) { sc = new RemoteScriptContent(path); } } catch (IOException e) { throw new WebScriptException("Error locating script " + path, e); } return sc; } }