public class ServerBootstrap extends Object implements ServletContextListener
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_MANAGER |
static String |
CONFIGURATION |
static String |
MANAGER_INSTANCE |
Constructor and Description |
---|
ServerBootstrap() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
static EmbeddedCacheManager |
getCacheManager(ServletContext ctx) |
static RestServerConfiguration |
getConfiguration(ServletContext ctx) |
static ManagerInstance |
getManagerInstance(ServletContext ctx) |
static void |
setCacheManager(ServletContext ctx,
EmbeddedCacheManager cacheManager) |
static void |
setConfiguration(ServletContext ctx,
RestServerConfiguration cfg) |
public static final String CACHE_MANAGER
public static final String CONFIGURATION
public static final String MANAGER_INSTANCE
public static void setCacheManager(ServletContext ctx, EmbeddedCacheManager cacheManager)
public static EmbeddedCacheManager getCacheManager(ServletContext ctx)
public static RestServerConfiguration getConfiguration(ServletContext ctx)
public static void setConfiguration(ServletContext ctx, RestServerConfiguration cfg)
public static ManagerInstance getManagerInstance(ServletContext ctx)
public void contextInitialized(ServletContextEvent sce)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent sce)
contextDestroyed
in interface ServletContextListener
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.