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, startpublic void addExtension(java.lang.String extension)
throws ConfigException
ConfigExceptionpublic void setTimeout(Period timeout)
public void contextInitialized(ServletContextEvent event)
ServletContextListenercontextInitialized in interface ServletContextListenerevent - the event for the context initializationpublic void contextDestroyed(ServletContextEvent event)
ServletContextListenercontextDestroyed in interface ServletContextListenerevent - the event for the context destruction