public class EhcacheDynamicPageCacheImpl extends 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() |
String |
getPath(String pathId)
Gets the fully resolved path for the specified path including the skin.
|
org.python.core.PyObject |
getScriptObject(String path)
Gets the script object with the specified path.
|
void |
putPath(String pathId,
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(String path)
getScriptObject in interface DynamicPageCachepath - jython script path - including portal and skin. this should be
a valid Velocity resourcepublic String getPath(String pathId)
getPath in interface DynamicPageCachepathId - a path to resolvepublic void putPath(String pathId, String path)
putPath in interface DynamicPageCachepathId - path to resolvepath - resolved pathpublic void clearCache()
clearCache in interface DynamicPageCacheMXBeanCopyright © 2009-2015. All Rights Reserved.