|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.portal.services.impl.EhcacheDynamicPageCacheImpl
public class EhcacheDynamicPageCacheImpl
Implements a DynamicPageCache using Ehcache.
| Constructor Summary | |
|---|---|
EhcacheDynamicPageCacheImpl(PortalManager portalManager,
VelocityService velocityService,
ScriptingServices scriptingServices)
Construct and configure the caches. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EhcacheDynamicPageCacheImpl(PortalManager portalManager,
VelocityService velocityService,
ScriptingServices scriptingServices)
portalManager - PortalManager instancevelocityService - VelocityService instancescriptingServices - ScriptingServices instance| Method Detail |
|---|
public 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 resource
public String getPath(String pathId)
getPath in interface DynamicPageCachepathId - a path to resolve
public void putPath(String pathId,
String path)
putPath in interface DynamicPageCachepathId - path to resolvepath - resolved pathpublic void clearCache()
clearCache in interface DynamicPageCacheMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||