public class WroServletContextListener extends Object implements javax.servlet.ServletContextListener
getListenerName() to provide a unique non-empty
name (defaulted to "default").| Constructor and Description |
|---|
WroServletContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
protected String |
getListenerName() |
protected WroConfiguration |
newConfiguration()
Create the ContextLoader to use.
|
protected WroManagerFactory |
newManagerFactory() |
void |
setConfiguration(WroConfiguration configuration)
Set the configuration to be initialized by this listener.
|
void |
setManagerFactory(WroManagerFactory managerFactory)
Set the manager factory to be initialized by this listener.
|
public final void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenerprotected WroConfiguration newConfiguration()
protected WroManagerFactory newManagerFactory()
WroManagerFactory.public final void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic final void setManagerFactory(WroManagerFactory managerFactory)
managerFactory - a not null manager instance.protected String getListenerName()
public final void setConfiguration(WroConfiguration configuration)
configuration - a not null configuration instance.Copyright © 2008-2013. All Rights Reserved.