| java.lang.Object com.caucho.jsp.PageManager
All known Subclasses: com.caucho.jsp.JspManager, com.caucho.jsp.XtpManager,
PageManager | abstract public class PageManager (Code) | | Parent template manager for both JspManager and XtpManager. PageManager
is responsible for caching pages until the underlying files change.
|
Inner Class :class Entry implements CacheListener | |
Method Summary | |
abstract Page | createPage(Path path, String uri, String className, ServletConfig config, ArrayList<PersistentDependency> dependList) Implementation-specific method to create the actual page. | void | destroy() Clean up the pages when the server shuts down. | public Path | getAppDir() | public Path | getClassDir() | public Page | getPage(String uri, Path path) Compiles and returns the page at the given path and uri. | public Page | getPage(String uri, String pageURI, Path path, ServletConfig config) Compiles and returns the page at the given path and uri. | public Page | getPage(String uri, String pageURI, Path path, ServletConfig config, ArrayList<PersistentDependency> dependList) Compiles and returns the page at the given path and uri. | WebApp | getWebApp() Returns the CauchoWebApp for the manager. | protected void | initPageManager() | void | initWebApp(WebApp webApp) | void | killPage(HttpServletRequest request, HttpServletResponse response, Page page) | void | setPageCacheMax(int max) |
ACCESS_INTERVAL | final static long ACCESS_INTERVAL(Code) | | |
_autoCompile | protected boolean _autoCompile(Code) | | |
PageManager | PageManager()(Code) | | Create a new PageManager
Parameters: context - the servlet webApp. |
createPage | abstract Page createPage(Path path, String uri, String className, ServletConfig config, ArrayList<PersistentDependency> dependList) throws Exception(Code) | | Implementation-specific method to create the actual page. JspManager
and XtpManager define this for their specific needs.
|
destroy | void destroy()(Code) | | Clean up the pages when the server shuts down.
|
getAppDir | public Path getAppDir()(Code) | | |
getClassDir | public Path getClassDir()(Code) | | |
getPage | public Page getPage(String uri, Path path) throws Exception(Code) | | Compiles and returns the page at the given path and uri. The uri
is needed for jsp:include, etc. in the JSP pages.
Parameters: path - Path to the page. Parameters: uri - uri of the page. the compiled JSP (or XTP) page. |
getPage | public Page getPage(String uri, String pageURI, Path path, ServletConfig config) throws Exception(Code) | | Compiles and returns the page at the given path and uri. The uri
is needed for jsp:include, etc. in the JSP pages.
Parameters: path - Path to the page. Parameters: uri - uri of the page. the compiled JSP (or XTP) page. |
getPage | public Page getPage(String uri, String pageURI, Path path, ServletConfig config, ArrayList<PersistentDependency> dependList) throws Exception(Code) | | Compiles and returns the page at the given path and uri. The uri
is needed for jsp:include, etc. in the JSP pages.
Parameters: uri - uri of the page. Parameters: uri - uri of the page. Parameters: path - Path to the page. the compiled JSP (or XTP) page. |
getWebApp | WebApp getWebApp()(Code) | | Returns the CauchoWebApp for the manager.
|
initPageManager | protected void initPageManager()(Code) | | |
setPageCacheMax | void setPageCacheMax(int max)(Code) | | |
|
|