|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| S2ContainerLoaderListener.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* brownies and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*
|
|
| 5 |
* Created on 2004/04/09 14:33:52
|
|
| 6 |
*/
|
|
| 7 |
package org.asyrinx.brownie.seasar.servlet;
|
|
| 8 |
|
|
| 9 |
import javax.servlet.ServletContextEvent;
|
|
| 10 |
import javax.servlet.ServletContextListener;
|
|
| 11 |
|
|
| 12 |
/**
|
|
| 13 |
* @author akima
|
|
| 14 |
*/
|
|
| 15 |
public class S2ContainerLoaderListener implements ServletContextListener { |
|
| 16 |
|
|
| 17 |
private S2ContainerLoader contextLoader = null; |
|
| 18 |
|
|
| 19 |
/*
|
|
| 20 |
* (non-Javadoc)
|
|
| 21 |
*
|
|
| 22 |
* @see javax.servlet.ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)
|
|
| 23 |
*/
|
|
| 24 | 0 |
public void contextInitialized(ServletContextEvent event) { |
| 25 | 0 |
contextLoader = new S2ContainerLoader(event.getServletContext());
|
| 26 | 0 |
contextLoader.initializeContainer(); |
| 27 |
} |
|
| 28 |
|
|
| 29 |
/*
|
|
| 30 |
* (non-Javadoc)
|
|
| 31 |
*
|
|
| 32 |
* @see javax.servlet.ServletContextListener#contextDestroyed(javax.servlet.ServletContextEvent)
|
|
| 33 |
*/
|
|
| 34 | 0 |
public void contextDestroyed(ServletContextEvent event) { |
| 35 | 0 |
contextLoader.finalizeContainer(); |
| 36 |
} |
|
| 37 |
|
|
| 38 |
} |
|
||||||||||