org.qi4j.library.struts2
Class Qi4jApplicationBootstrapListener
java.lang.Object
org.qi4j.library.struts2.Qi4jApplicationBootstrapListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public abstract class Qi4jApplicationBootstrapListener
- extends Object
- implements javax.servlet.ServletContextListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Qi4jApplicationBootstrapListener
public Qi4jApplicationBootstrapListener()
contextInitialized
public final void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
qi4jStrutsModule
protected abstract Module qi4jStrutsModule(Application application)
- Parameters:
application
- Qi4j application.
- Returns:
- Qi4j struts module.
createAssembler
protected ApplicationAssembler createAssembler()
- Override this method to create an application assembler.
- Returns:
- An application assembler.
contextDestroyed
public final void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener