jodd-madvoc/src/main/java/jodd/madvoc/MadvocContextListener.java
@Override
	public void contextInitialized(final ServletContextEvent servletContextEvent) {
		ServletContext servletContext = servletContextEvent.getServletContext();

		madvoc = new Madvoc();

		madvoc.configureWith(servletContext);

		madvoc.startWebApplication(servletContext);
	}
@Override
	public void contextInitialized(final ServletContextEvent servletContextEvent) {
		ServletContext servletContext = servletContextEvent.getServletContext();

		madvoc = new Madvoc();

		madvoc.configureWith(servletContext);

		madvoc.startWebApplication(servletContext);
	}
@ Override public void contextInitialized ( final ServletContextEvent servletContextEvent ) { ServletContext servletContext = servletContextEvent . getServletContext ( ) ; madvoc = new Madvoc ( ) ; madvoc . configureWith ( servletContext ) ; madvoc . startWebApplication ( servletContext ) ; }
Creates new {@link Madvoc} {@link WebApp} that is configured
by context init parameters.
Creates new {