|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.dandelion.datatables.core.configuration.DatatablesConfigurator
public class DatatablesConfigurator
The DatatablesConfigurator is used to pick up different classes in
charge of the configuration loading, instantiate them and cache them.
LocaleResolver,
StandardLocaleResolver,
ConfigurationLoader,
StandardConfigurationLoader| Constructor Summary | |
|---|---|
DatatablesConfigurator()
|
|
| Method Summary | |
|---|---|
static void |
clear()
FOR INTERNAL USE ONLY |
static ConfigurationLoader |
getConfigurationLoader()
Returns an implementation of ConfigurationLoader using the
following strategy:
Check first if the dandelion.datatables.confloader.class
system property is set and tries to instantiate it
Otherwise, instantiate the StandardConfigurationLoader based
on property files
|
static JavascriptGenerator |
getJavascriptGenerator()
Returns an implementation of JavascriptGenerator using the
following strategy:
Check first if the
dandelion.datatables.js.generator.class system property is
set and tries to instantiate it
Otherwise, instantiate the StandardJavascriptGenerator based
on property files
|
static LocaleResolver |
getLocaleResolver()
Return a uniq implementation of LocaleResolver using the
following strategy:
First, check if the i18n.locale.resolver has been
defined in any of the user properties files. |
static MessageResolver |
getMessageResolver(javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatatablesConfigurator()
| Method Detail |
|---|
public static LocaleResolver getLocaleResolver()
LocaleResolver using the
following strategy:
i18n.locale.resolver has been
defined in any of the user properties files. If so, tries to instantiate
the class.
LocaleResolver.public static MessageResolver getMessageResolver(javax.servlet.http.HttpServletRequest request)
public static ConfigurationLoader getConfigurationLoader()
Returns an implementation of ConfigurationLoader using the
following strategy:
dandelion.datatables.confloader.class
system property is set and tries to instantiate itStandardConfigurationLoader based
on property files
ConfigurationLoader.public static JavascriptGenerator getJavascriptGenerator()
Returns an implementation of JavascriptGenerator using the
following strategy:
dandelion.datatables.js.generator.class system property is
set and tries to instantiate itStandardJavascriptGenerator based
on property files
JavascriptGenerator.public static void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||