List of usage examples for javax.servlet ServletContextListener interface-usage
From source file MyServlet.java
public class MyServlet implements ServletContextListener { public void contextInitialized(ServletContextEvent e) { // Connection con = // create connection // e.getServletContext().setAttribute("con", con); System.out.println("contextInitialized(ServletContextEvent e)");
From source file ContextLogger.java
public class ContextLogger implements ServletContextListener { private Logger log; public ContextLogger() { }
From source file com.norteksoft.bs.sms.web.listener.SmsSendMessageListener.java
/** * ?? * @author lenove1 * */ public class SmsSendMessageListener implements ServletContextListener {
From source file edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerSetup.java
public class FreemarkerSetup implements ServletContextListener { private static final Log log = LogFactory.getLog(FreemarkerSetup.class); @Override public void contextInitialized(ServletContextEvent event) {
From source file cn.buk.qms.listener.QuartzContextListener.java
/** * User: yfdai * Date: 14-9-1 * Time: ?3:54 */ public class QuartzContextListener implements ServletContextListener {
From source file de.betterform.agent.web.servlet.BfServletContextListener.java
/** * ServletListener to shutdown infinispan * */ public class BfServletContextListener implements ServletContextListener {
From source file com.swiftcorp.portal.common.listener.CustomContextLoaderListener.java
public class CustomContextLoaderListener extends ContextLoaderListener implements ServletContextListener { private static final Log log = LogFactory.getLog(CustomContextLoaderListener.class); // private ApplicationContext applicationContext;
From source file com.almende.eve.deploy.EveListener.java
/** * The listener interface for receiving ServletContext events. */ public class EveListener implements ServletContextListener { private static final Logger LOG = Logger.getLogger(EveListener.class.getName()); protected ObjectNode myConfig = null;
From source file ar.com.jrules.core.listener.JRuleListener.java
/**
* Copyright 2014 Joel del Valle <joelmarcosdelvalle@gmail.com>
*
* This file is part of jrules, project of jrules.
*
* jrules is free software: you can redistribute it and/or modify it under
From source file ar.com.allium.rules.core.listener.AlliumRuleListener.java
/**
* Copyright 2014 Joel del Valle <joelmarcosdelvalle@gmail.com>
*
* This file is part of allium-rules, project of allium-projects.
*
* allium-rules is free software: you can redistribute it and/or modify it under