|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.primefaces.extensions.config.ConfigProvider
public class ConfigProvider
Provider for the ConfigContainer.
| Constructor Summary | |
|---|---|
ConfigProvider()
|
|
| Method Summary | |
|---|---|
static void |
cleanCache()
|
static ConfigContainer |
getConfig(javax.faces.context.FacesContext context)
Gets the one and only ConfigContainer instance:
- try to lookup it from a ThreadLocal cache
- try to get it from the application map
- create a new instance, store it in the ThreadLocal cache and in the application map |
static ConfigContainer |
getConfig(javax.faces.context.FacesContext context,
boolean cacheInThreadLocal)
Gets the one and only ConfigContainer instance:
- try to lookup it from a ThreadLocal cache
- try to get it from the application map
- create a new instance, store it in the ThreadLocal cache and in the application map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigProvider()
| Method Detail |
|---|
public static ConfigContainer getConfig(javax.faces.context.FacesContext context)
ConfigContainer instance:
- try to lookup it from a ThreadLocal cache
- try to get it from the application map
- create a new instance, store it in the ThreadLocal cache and in the application map
context - The FacesContext.
ConfigContainer instance.
public static ConfigContainer getConfig(javax.faces.context.FacesContext context,
boolean cacheInThreadLocal)
ConfigContainer instance:
- try to lookup it from a ThreadLocal cache
- try to get it from the application map
- create a new instance, store it in the ThreadLocal cache and in the application map
context - The FacesContext.If - the ConfigContainer should be cached in the ThreadLocal variable.
ConfigContainer instance.public static void cleanCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||