|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tonbeller.tbutils.res.ResourcesFactory
creates and caches Resources
.
The factory is configured via four variables that are looked up in
tbeller.initialResourceProvider
, for example
-Dtbeller.initialResourceProvider=com.tonbeller.tbutils.res.SystemResourceProvider
will look up the initial variables in System properties only. This is meant
for testing outside the web environment.
Field Summary | |
static java.lang.String |
INITIAL_PROVIDER
If there is a ServletContext initParameter this provider will be used instead of the JNDI Provider. |
static java.lang.String |
TBELLER_BUNDLES
|
static java.lang.String |
TBELLER_HOME
|
static java.lang.String |
TBELLER_LOCALE
|
static java.lang.String |
TBELLER_PROPERTIES
|
static java.lang.String |
USE_JNDI_PROVIDER
|
Method Summary | |
java.util.Locale |
getFixedLocale()
if the application was configured to use a fixed locale independent of the browsers locale, returns that locale. |
static ResourcesFactory |
instance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INITIAL_PROVIDER
public static final java.lang.String USE_JNDI_PROVIDER
public static final java.lang.String TBELLER_BUNDLES
public static final java.lang.String TBELLER_PROPERTIES
public static final java.lang.String TBELLER_HOME
public static final java.lang.String TBELLER_LOCALE
Method Detail |
public static ResourcesFactory instance()
public java.util.Locale getFixedLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |