|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.web.startup.TilesListener
public class TilesListener
Listener for the initialization of the Tiles container.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
LOG
Log instance. |
Constructor Summary | |
---|---|
TilesListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Remove the tiles container from service. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Initialize the TilesContainer and place it into service. |
protected TilesContainer |
createContainer(javax.servlet.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 org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public TilesListener()
Method Detail |
---|
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
event
- The intercepted event.public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- The intercepted event.protected TilesContainer createContainer(javax.servlet.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 |