K - type of key written to input topicM - type of value written to input topicU - type of update/model read from update topic@WebListener public final class ModelManagerListener<K,M,U> extends Object implements javax.servlet.ServletContextListener, Closeable
ServletContextListener that initializes a ServingModelManager at web
app startup time in the Serving Layer.| Constructor and Description |
|---|
ModelManagerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2018. All rights reserved.