Example usage for javax.servlet ServletContextListener interface-usage

List of usage examples for javax.servlet ServletContextListener interface-usage

Introduction

In this page you can find the example usage for javax.servlet ServletContextListener interface-usage.

Usage

From source file com.fpmislata.banco.presentation.database.HibernateServerContextListenerImpl.java

/**
 *
 * @author alumno
 */
public class HibernateServerContextListenerImpl implements ServletContextListener {

From source file org.giavacms.cache.listener.CacheListener.java

@WebListener
public class CacheListener implements ServletContextListener {

    Logger logger = Logger.getLogger(getClass().getName());

    @Inject

From source file edu.cornell.mannlib.vitro.webapp.servlet.setup.UserModelSetup.java

/** 
 * Setup the user account model.  If it does not exist in the 
 * database, create and populate it. 
 */
public class UserModelSetup extends JenaDataSourceSetupBase implements ServletContextListener {
    protected static String AUTHPATH = BASE + "auth/";

From source file edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionSetup.java

/**
 * Check the ConfigurationProperties for a forced locale, or for a
 * comma-separate list of selectable locales.
 * 
 * Create the appropriate Locale objects and store them in the ServletContext.
 */

From source file com.xhsoft.framework.common.listener.ApplicationContextListener.java

public class ApplicationContextListener implements ServletContextListener {

    private static final Log logger = LogFactory.getLog(ApplicationContextListener.class);

    public void contextInitialized(ServletContextEvent event) {
        try {

From source file edu.cornell.mannlib.vitro.webapp.filestorage.backend.FileStorageSetup.java

/**
 * Initializes the file storage system, and stores a reference in the servlet
 * context.
 */
public class FileStorageSetup implements ServletContextListener {
    private static final Log log = LogFactory.getLog(FileStorageSetup.class);

From source file gov.nih.nci.cabig.caaers.web.rule.ContextListener.java

public class ContextListener implements ServletContextListener {

    public void contextDestroyed(ServletContextEvent servletContextEvent) {
        servletContextEvent.getServletContext().removeAttribute("ruleUi-general");
        servletContextEvent.getServletContext().removeAttribute("ruleUi-safety");
    }

From source file com.dm.platform.listener.PlatformServletContextListener.java

/**
 *
 * @author Administrator
 */
@WebListener
public class PlatformServletContextListener implements ServletContextListener {

From source file me.j360.boot.advance.listener.J360ServletContextListener.java

/**
 * Simple {@link javax.servlet.ServletContextListener} to test gh-2058.
 */
@Component
public class J360ServletContextListener implements ServletContextListener {

From source file com.mycompany.hcsparta_web.StartListener.java

/**
 *
 * @author Branislav Smik <xsmik @fi.muni>
 */
@WebListener
public class StartListener implements ServletContextListener {