com.googlecode.fascinator.portal.services
Interface DynamicPageCache

All Superinterfaces:
EventListener, org.apache.tapestry5.ioc.services.RegistryShutdownListener
All Known Implementing Classes:
EhcacheDynamicPageCacheImpl

public interface DynamicPageCache
extends org.apache.tapestry5.ioc.services.RegistryShutdownListener

Caching support for DynamicPageServices.

Author:
Oliver Lucido

Method Summary
 String getPath(String pathId)
          Gets the fully resolved path for the specified path.
 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.
 
Methods inherited from interface org.apache.tapestry5.ioc.services.RegistryShutdownListener
registryDidShutdown
 

Method Detail

getScriptObject

org.python.core.PyObject getScriptObject(String path)
Gets the script object with the specified path.

Parameters:
path - script path
Returns:
a script object or null if an error occurred

getPath

String getPath(String pathId)
Gets the fully resolved path for the specified path.

Parameters:
pathId - a path to resolve
Returns:
resolved path

putPath

void putPath(String pathId,
             String path)
Puts an entry into the path lookup cache.

Parameters:
pathId - path to resolve
path - resolved path


Copyright © 2009-2014. All Rights Reserved.