net.myrrix.web
Class InitListener
java.lang.Object
net.myrrix.web.InitListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public final class InitListener
- extends Object
- implements javax.servlet.ServletContextListener
This servlet lifecycle listener makes sure that the shared MyrrixRecommender instance
is initialized at startup, along with related objects, and shut down when the container is destroyed.
- Author:
- Sean Owen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_HANDLER
public static final String LOG_HANDLER
LOCAL_INPUT_DIR_KEY
public static final String LOCAL_INPUT_DIR_KEY
BUCKET_KEY
public static final String BUCKET_KEY
INSTANCE_ID_KEY
public static final String INSTANCE_ID_KEY
RESCORER_PROVIDER_CLASS_KEY
public static final String RESCORER_PROVIDER_CLASS_KEY
ALL_PARTITIONS_SPEC_KEY
public static final String ALL_PARTITIONS_SPEC_KEY
PARTITION_KEY
public static final String PARTITION_KEY
InitListener
public InitListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2012. All Rights Reserved.