public class EchoBaseApplicationContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EchoBaseConfiguration |
configuration |
protected EchoBaseDbMeta |
dbMeta |
protected boolean |
defaultUsersCreated
Flag setted to true when internal db was just created (should then
display in ui created user password).
|
protected org.nuiton.topia.TopiaContext |
internalRootContext
Root context for the internal database.
|
protected Set<EchoBaseSession> |
sessions
Set of all loggued user sessions to be close at shutdown time.
|
protected SpatialDataCache |
spatialDataCache
A simple cache of spatial data.
|
| Constructor and Description |
|---|
EchoBaseApplicationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
destroyEchoBaseSession(EchoBaseSession session) |
static EchoBaseApplicationContext |
getApplicationContext(com.opensymphony.xwork2.ActionContext actionContext) |
static EchoBaseApplicationContext |
getApplicationContext(javax.servlet.ServletContext servletContext) |
EchoBaseConfiguration |
getConfiguration() |
EchoBaseDbMeta |
getDbMeta() |
Set<EchoBaseSession> |
getEchoBaseSessions() |
org.nuiton.topia.TopiaContext |
getInternalRootContext() |
SpatialDataCache |
getSpatialDataCache() |
void |
init() |
boolean |
isDefaultUsersCreated() |
EchoBaseServiceContext |
newServiceContext(Locale locale,
org.nuiton.topia.TopiaContext topiaInternalContext,
org.nuiton.topia.TopiaContext topiaContext) |
void |
registerEchoBaseSession(EchoBaseSession session) |
static void |
removeApplicationContext(javax.servlet.ServletContext servletContext) |
static void |
setApplicationContext(javax.servlet.ServletContext servletContext,
EchoBaseApplicationContext applicationContext) |
void |
setConfiguration(EchoBaseConfiguration configuration) |
void |
setDbMeta(EchoBaseDbMeta dbMeta) |
void |
setDefaultUsersCreated(boolean defaultUsersCreated) |
void |
setInternalRootContext(org.nuiton.topia.TopiaContext internalRootContext) |
protected Set<EchoBaseSession> sessions
protected EchoBaseConfiguration configuration
protected EchoBaseDbMeta dbMeta
protected org.nuiton.topia.TopiaContext internalRootContext
protected boolean defaultUsersCreated
protected final SpatialDataCache spatialDataCache
public static EchoBaseApplicationContext getApplicationContext(com.opensymphony.xwork2.ActionContext actionContext)
public static EchoBaseApplicationContext getApplicationContext(javax.servlet.ServletContext servletContext)
public static void setApplicationContext(javax.servlet.ServletContext servletContext,
EchoBaseApplicationContext applicationContext)
public static void removeApplicationContext(javax.servlet.ServletContext servletContext)
public Set<EchoBaseSession> getEchoBaseSessions()
public void registerEchoBaseSession(EchoBaseSession session)
public void destroyEchoBaseSession(EchoBaseSession session)
public void init()
public EchoBaseConfiguration getConfiguration()
public EchoBaseDbMeta getDbMeta()
public org.nuiton.topia.TopiaContext getInternalRootContext()
public boolean isDefaultUsersCreated()
public SpatialDataCache getSpatialDataCache()
public EchoBaseServiceContext newServiceContext(Locale locale, org.nuiton.topia.TopiaContext topiaInternalContext, org.nuiton.topia.TopiaContext topiaContext)
public void close()
public void setDbMeta(EchoBaseDbMeta dbMeta)
public void setInternalRootContext(org.nuiton.topia.TopiaContext internalRootContext)
public void setDefaultUsersCreated(boolean defaultUsersCreated)
public void setConfiguration(EchoBaseConfiguration configuration)
Copyright © 2011–2013 Ifremer. All rights reserved.