org.dasein.util
Class PoolTerminator
java.lang.Object
org.dasein.util.PoolTerminator
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class PoolTerminator
- extends Object
- implements ServletContextListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
terminationHandlers
public static ArrayList<Callable<Boolean>> terminationHandlers
PoolTerminator
public PoolTerminator()
addTerminationHandler
public static void addTerminationHandler(Callable<Boolean> handler)
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed in interface ServletContextListener
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized in interface ServletContextListener
Copyright © 2012 enStratus Networks Inc. All Rights Reserved.