public class CoselmarServicesApplicationContext extends Object implements CoselmarApplicationContext
| Modifier and Type | Field and Description |
|---|---|
protected static String |
APPLICATION_CONTEXT_PARAMETER |
protected CoselmarServicesConfig |
applicationConfig |
protected static CoselmarServicesApplicationContext |
applicationContext |
protected AtomicBoolean |
closed |
protected LuceneUtils |
luceneUtils |
protected AtomicBoolean |
started |
protected CoselmarTopiaApplicationContext |
topiaApplicationContext |
| Modifier | Constructor and Description |
|---|---|
protected |
CoselmarServicesApplicationContext(CoselmarServicesConfig applicationConfig,
CoselmarTopiaApplicationContext topiaApplicationContext,
LuceneUtils luceneUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CoselmarServicesConfig |
getApplicationConfig() |
static CoselmarServicesApplicationContext |
getApplicationContext() |
static CoselmarServicesApplicationContext |
getApplicationContext(javax.servlet.ServletContext servletContext) |
LuceneUtils |
getLuceneUtils() |
CoselmarTopiaApplicationContext |
getTopiaApplicationContext() |
void |
init() |
CoselmarTopiaPersistenceContext |
newPersistenceContext() |
CoselmarServicesContext |
newServiceContext(CoselmarPersistenceContext persistenceContext,
Locale locale) |
static void |
setApplicationContext(CoselmarServicesApplicationContext applicationContext) |
static void |
setApplicationContext(javax.servlet.ServletContext servletContext,
CoselmarServicesApplicationContext applicationContext) |
protected static final String APPLICATION_CONTEXT_PARAMETER
protected static CoselmarServicesApplicationContext applicationContext
protected AtomicBoolean started
protected AtomicBoolean closed
protected CoselmarTopiaApplicationContext topiaApplicationContext
protected CoselmarServicesConfig applicationConfig
protected LuceneUtils luceneUtils
protected CoselmarServicesApplicationContext(CoselmarServicesConfig applicationConfig, CoselmarTopiaApplicationContext topiaApplicationContext, LuceneUtils luceneUtils)
public static CoselmarServicesApplicationContext getApplicationContext()
public static CoselmarServicesApplicationContext getApplicationContext(javax.servlet.ServletContext servletContext)
public static void setApplicationContext(CoselmarServicesApplicationContext applicationContext)
public static void setApplicationContext(javax.servlet.ServletContext servletContext,
CoselmarServicesApplicationContext applicationContext)
public CoselmarTopiaApplicationContext getTopiaApplicationContext()
getTopiaApplicationContext in interface CoselmarApplicationContextpublic CoselmarServicesConfig getApplicationConfig()
getApplicationConfig in interface CoselmarApplicationContextpublic CoselmarTopiaPersistenceContext newPersistenceContext()
newPersistenceContext in interface CoselmarApplicationContextpublic LuceneUtils getLuceneUtils()
getLuceneUtils in interface CoselmarApplicationContextpublic CoselmarServicesContext newServiceContext(CoselmarPersistenceContext persistenceContext, Locale locale)
newServiceContext in interface CoselmarApplicationContextpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic void init()
init in interface CoselmarApplicationContextCopyright © 2014–2015 Ifremer. All rights reserved.