jodd.madvoc
Class MadvocContextListener

java.lang.Object
  extended by jodd.madvoc.MadvocContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class MadvocContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

Creates Madvoc @{link WebApplication}. It's an alternative way how to start web application - before any other Jodd framework is used and called.


Field Summary
protected  Madvoc madvoc
           
 
Constructor Summary
MadvocContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
          Stops Madvoc.
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
          Creates new Madvoc @{link WebApplication} that is configured by context init parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

madvoc

protected Madvoc madvoc
Constructor Detail

MadvocContextListener

public MadvocContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Creates new Madvoc @{link WebApplication} that is configured by context init parameters.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Stops Madvoc.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2003-2012 Jodd Team