public class ViewBuilderCacheManagerServlet extends HttpServlet
BaseViewHandler
.Modifier and Type | Class and Description |
---|---|
protected class |
ViewBuilderCacheManagerServlet.InvalidationThread |
Modifier and Type | Field and Description |
---|---|
static String |
INIT_PARAM_ROOT
Root file path of views to check (ie "c:/mywebapp/views").
|
static String |
INIT_PARAM_SLEEP
Time to sleep between invalidation checks, in milliseconds.
|
protected ViewBuilderCacheManagerServlet.InvalidationThread |
m_invalidationThread |
protected File |
m_root |
protected long |
m_sleep |
Constructor and Description |
---|
ViewBuilderCacheManagerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(ServletConfig config) |
protected void |
service(HttpServletRequest request,
HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static final String INIT_PARAM_SLEEP
public static final String INIT_PARAM_ROOT
protected long m_sleep
protected File m_root
protected ViewBuilderCacheManagerServlet.InvalidationThread m_invalidationThread
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException