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(java.lang.String documentPath) |
createDocument, createPath, exists, extractJarFileURL, getAllDocumentPaths, getBasePath, getDescriptionDocumentPaths, getDocument, getDocumentPaths, getScriptDocumentPaths, getScriptLoader, hasDocument, init, isJarURL, isReadOnly, isSecure, removeDocument, setApplicationContext, setClassPath, setMustExist, toString, updateDocumentcreateDocuments, getDocumentPaths, getPreviewContext, setPreviewContextProvider, setReadOnlypublic freemarker.cache.TemplateLoader getTemplateLoader()
getTemplateLoader in interface org.springframework.extensions.webscripts.StoregetTemplateLoader in class org.springframework.extensions.webscripts.ClassPathStorepublic long lastModified(java.lang.String documentPath)
throws java.io.IOException
lastModified in interface org.springframework.extensions.webscripts.StorelastModified in class org.springframework.extensions.webscripts.ClassPathStorejava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.