public class JspPrecompileListener extends JspPrecompileResource implements ServletContextListener
Constructor and Description |
---|
JspPrecompileListener() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(java.lang.String extension)
Adds a new extension to precompile.
|
void |
contextDestroyed(ServletContextEvent event)
Callback when a ServletContext is destroyed
|
void |
contextInitialized(ServletContextEvent event)
Callback when a ServletContext is initialized
|
void |
setTimeout(Period timeout)
Set the time to wait for compilation to complete
|
createFileset, createFileSet, init, setThreadCount, setTimeoutMs, setWebApp, start
public void addExtension(java.lang.String extension) throws ConfigException
ConfigException
public void setTimeout(Period timeout)
public void contextInitialized(ServletContextEvent event)
ServletContextListener
contextInitialized
in interface ServletContextListener
event
- the event for the context initializationpublic void contextDestroyed(ServletContextEvent event)
ServletContextListener
contextDestroyed
in interface ServletContextListener
event
- the event for the context destruction