public class EhcacheDynamicPageCacheImpl extends java.lang.Object implements DynamicPageCache, DynamicPageCacheMXBean
| Constructor and Description |
|---|
EhcacheDynamicPageCacheImpl(PortalManager portalManager,
VelocityService velocityService,
ScriptingServices scriptingServices)
Construct and configure the caches.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
java.lang.String |
getPath(java.lang.String pathId)
Gets the fully resolved path for the specified path including the skin.
|
org.python.core.PyObject |
getScriptObject(java.lang.String path)
Gets the script object with the specified path.
|
void |
putPath(java.lang.String pathId,
java.lang.String path)
Puts an entry into the path lookup cache.
|
void |
registryDidShutdown()
Shutdown the caches properly when Tapestry shuts down.
|
public EhcacheDynamicPageCacheImpl(PortalManager portalManager, VelocityService velocityService, ScriptingServices scriptingServices)
portalManager - PortalManager instancevelocityService - VelocityService instancescriptingServices - ScriptingServices instancepublic void registryDidShutdown()
registryDidShutdown in interface org.apache.tapestry5.ioc.services.RegistryShutdownListenerpublic org.python.core.PyObject getScriptObject(java.lang.String path)
getScriptObject in interface DynamicPageCachepath - jython script path - including portal and skin. this should be
a valid Velocity resourcepublic java.lang.String getPath(java.lang.String pathId)
getPath in interface DynamicPageCachepathId - a path to resolvepublic void putPath(java.lang.String pathId,
java.lang.String path)
putPath in interface DynamicPageCachepathId - path to resolvepath - resolved pathpublic void clearCache()
clearCache in interface DynamicPageCacheMXBeanCopyright © 2009-2019. All Rights Reserved.