List of usage examples for javax.servlet ServletContextListener interface-usage
From source file no.kantega.publishing.spring.LogInitListener.java
/** * Ensure logging is configured and initiates logging. */ public class LogInitListener implements ServletContextListener { private LoggerContext loggerContext;
From source file com.bekk.boss.pluto.embedded.util.PortalStartupListener.java
public class PortalStartupListener implements ServletContextListener { private org.apache.pluto.driver.PortalStartupListener realStartupListener; private static final String PLUTO_SERVICE_CONFIG_LOCATION = "classpath:/pluto-portal-driver-services-config.xml";
From source file org.unitedinternet.cosmo.db.DbListener.java
/**
* A <code>ServletContextListener</code> that performs maintenance tasks on the Cosmo database when the application
* starts up and shuts down.
*
* This class simply hooks into the servlet context lifecycle. It delegates the real database work to a series of helper
* classes.
From source file org.apache.hawq.pxf.service.rest.ServletLifecycleListener.java
/** * Listener on lifecycle events of our webapp */ public class ServletLifecycleListener implements ServletContextListener { private static final Log LOG = LogFactory.getLog(ServletContextListener.class);
From source file org.apache.hawq.pxf.service.servlet.ServletLifecycleListener.java
/** * Listener on lifecycle events of our webapp */ public class ServletLifecycleListener implements ServletContextListener { private static final Log LOG = LogFactory.getLog(ServletContextListener.class);
From source file com.fatwire.gst.web.status.StatusRequestListener.java
/**
* ServletRequestListener that signals the {@link RequestCounter} when requests start and end. Registers the
* {@link StatusCounter} as a JMX MBean.
*
* @author Dolf.Dijkstra
* @since Jun 10, 2010
From source file com.tacitknowledge.util.migration.jdbc.WebAppJNDIMigrationLauncher.java
/**
* Used to configure the migration engine using JNDI and properties
* set in the servlet context for a web application. This newer class
* removes the need to use a migration.properties file. Instead, set the
* following properties (context-param) in the web.xml file:
* <p/>
From source file se.vgregion.webbisar.web.FtpServerListener.java
public class FtpServerListener implements ServletContextListener { private static final Log LOGGER = LogFactory.getLog(FtpServerListener.class); public static final String FTPSERVER_CONTEXT_NAME = "org.apache.ftpserver";
From source file MyServlet.java
/**
* Example listener for context-related application events, which were
* introduced in the 2.3 version of the Servlet API. This listener
* merely documents the occurrence of such events in the application log
* associated with our servlet context.
*
From source file es.logongas.ix3.web.database.DatabaseMigrateContextListener.java
public class DatabaseMigrateContextListener implements ServletContextListener {
@Autowired
DatabaseMigration databaseMigration;
@Override