public class RepoClassPathStore
extends org.springframework.extensions.webscripts.ClassPathStore
In the repository, due to the possibility of Repository bound resources, all WebScript search path lists have the "delay" set to either zero seconds (no delay) or something close to that. This means that the FreeMarker template cache is always or often requesting the last modified date of a classpath resource - and the resources do not change. Note that the /extension classpath store still uses the original ClassPathStore. Otherwise all stores can be refreshed as usual via the Refresh WebScripts command.
Constructor and Description |
---|
RepoClassPathStore() |
Modifier and Type | Method and Description |
---|---|
freemarker.cache.TemplateLoader |
getTemplateLoader() |
long |
lastModified(String documentPath) |
createDocument, createPath, exists, extractJarFileURL, getAllDocumentPaths, getBasePath, getDescriptionDocumentPaths, getDocument, getDocumentPaths, getScriptDocumentPaths, getScriptLoader, hasDocument, init, isJarURL, isReadOnly, isSecure, removeDocument, setApplicationContext, setClassPath, setMustExist, toString, updateDocument
createDocuments, getDocumentPaths, getPreviewContext, setPreviewContextProvider, setReadOnly
public freemarker.cache.TemplateLoader getTemplateLoader()
getTemplateLoader
in interface org.springframework.extensions.webscripts.Store
getTemplateLoader
in class org.springframework.extensions.webscripts.ClassPathStore
public long lastModified(String documentPath) throws IOException
lastModified
in interface org.springframework.extensions.webscripts.Store
lastModified
in class org.springframework.extensions.webscripts.ClassPathStore
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.