@TraceDisabled public class LabelCacheMgr extends java.lang.Object
| Constructor and Description |
|---|
LabelCacheMgr() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearAll()
Clears all caches from the labelcache
|
static LabelCache |
clearCache(java.lang.String app,
WebClientSession wcs)
Clears a cache from the labelcache for a given app (used if you want to force a reload of the cache next
time around)
|
static LabelCache |
clearSystemCache(WebClientSession sc) |
static LabelCache |
getAppLabelCache(java.lang.String app,
WebClientSession wcs)
Returns a suitable cache for the given locale, app, and type.
|
static LabelCache |
getSystemLabelCache(WebClientSession wcs) |
static java.lang.String |
makeKey(java.lang.String locale,
java.lang.String app,
java.lang.String type)
probably is a better way to do this, but we want a single key for the
labelCache hashmap
|
static void |
setLabelCache(java.lang.String cacheId,
WebClientSession wcs,
LabelCache cache)
Deprecated.
|
public static java.lang.String makeKey(java.lang.String locale,
java.lang.String app,
java.lang.String type)
locale - The locale for the keyapp - The application for the keytype - The type of the keypublic static LabelCache getAppLabelCache(java.lang.String app, WebClientSession wcs)
app - The applicationwcs - The SessionContextpublic static LabelCache getSystemLabelCache(WebClientSession wcs)
@Deprecated
public static void setLabelCache(java.lang.String cacheId,
WebClientSession wcs,
LabelCache cache)
public static LabelCache clearCache(java.lang.String app, WebClientSession wcs)
app - The applicationpublic static LabelCache clearSystemCache(WebClientSession sc)
public static void clearAll()