|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.web.startup.TilesListener
public class TilesListener
Listener for the initialization of the Tiles container.
Field Summary | |
---|---|
protected static Log |
LOG
Log instance. |
Constructor Summary | |
---|---|
TilesListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(ServletContextEvent event)
Remove the tiles container from service. |
void |
contextInitialized(ServletContextEvent event)
Initialize the TilesContainer and place it into service. |
protected TilesContainer |
createContainer(ServletContext context)
Creates a Tiles container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Log LOG
Constructor Detail |
---|
public TilesListener()
Method Detail |
---|
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
event
- The intercepted event.public void contextDestroyed(ServletContextEvent event)
contextDestroyed
in interface ServletContextListener
event
- The intercepted event.protected TilesContainer createContainer(ServletContext context) throws TilesException
context
- The servlet context to use.
TilesException
- If something goes wrong during creation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |