com.atlassian.confluence.util
Class ConnectionKeeperLauncher

java.lang.Object
  extended bycom.atlassian.confluence.util.ConnectionKeeperLauncher
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ConnectionKeeperLauncher
extends Object
implements javax.servlet.ServletContextListener

Created by IntelliJ IDEA. User: Mike Date: Nov 3, 2003 Time: 12:35:19 PM To change this template use Options | File Templates.


Field Summary
static int CK_CONNECTIONS
           
static int CK_SLEEPTIME
           
static String HSQL_BULLSHIT_CONNECTION_HOLDER_KEY
           
 
Constructor Summary
ConnectionKeeperLauncher()
           
 
Method Summary
static boolean conditionallyStartConnectionKeeper(javax.servlet.ServletContext servletContext)
           
static boolean conditionallyStopConnectionKeeper(javax.servlet.ServletContext servletContext)
           
 void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CK_CONNECTIONS

public static final int CK_CONNECTIONS
See Also:
Constant Field Values

CK_SLEEPTIME

public static final int CK_SLEEPTIME
See Also:
Constant Field Values

HSQL_BULLSHIT_CONNECTION_HOLDER_KEY

public static final String HSQL_BULLSHIT_CONNECTION_HOLDER_KEY
See Also:
Constant Field Values
Constructor Detail

ConnectionKeeperLauncher

public ConnectionKeeperLauncher()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

conditionallyStartConnectionKeeper

public static boolean conditionallyStartConnectionKeeper(javax.servlet.ServletContext servletContext)

conditionallyStopConnectionKeeper

public static boolean conditionallyStopConnectionKeeper(javax.servlet.ServletContext servletContext)


Confluence is developed by Atlassian.