org.qi4j.library.struts2
Class Qi4jApplicationBootstrapListener

java.lang.Object
  extended by org.qi4j.library.struts2.Qi4jApplicationBootstrapListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public abstract class Qi4jApplicationBootstrapListener
extends Object
implements javax.servlet.ServletContextListener


Constructor Summary
Qi4jApplicationBootstrapListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
protected  ApplicationAssembler createAssembler()
          Override this method to create an application assembler.
protected abstract  Module qi4jStrutsModule(Application application)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Qi4jApplicationBootstrapListener

public Qi4jApplicationBootstrapListener()
Method Detail

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